Seunghun Sunmoon Lee·Nov 6, 2019Valid Binary Tree Algorithm Both Recursive, Iterative. JavaScript: 3 && true returns null. Why?!!!3 && true returns null. Why?!!!
Seunghun Sunmoon Lee·Jun 4, 2019Nodemon, socket.io: EADDRINUSE, Address already in use — Node / ExpressIt drives you insane whenever nodemon reloads and gives you the error EADDRINUSE, especially when you followed the documentation from…A response icon1A response icon1
Seunghun Sunmoon Lee·May 30, 2019How to asynchronously use nested http.get request using native node.js method. #Hackerrank problemMany people are not used to using native node.js method for http request. Especially when they do Hackerrank challnge. Hope this helps :)
Seunghun Sunmoon Lee·Apr 9, 2019How to read file asynchronously or synchronously using node.js in 2019. No other packages.We don’t need async or any other packages to achieve clean, readable, asynchronous file processing scripts in node.js in 2019. You can try…
Seunghun Sunmoon Lee·Jan 7, 2019How to import multiple json files from the folder in linux, mac for mongodb using mongoimportHi!
Seunghun Sunmoon Lee·Jan 3, 2019Count Inversions in an array using Merge Sort in JavaScriptThere are many ways to count inversions. One of the most effective algorithm to find such is to use merge sort.A response icon1A response icon1
Seunghun Sunmoon Lee·Dec 31, 2018Merge Sort in JavaScript. Time Complexity O(nlogn)Merge Sort is the most popular and efficient algorithm after quick sort that uses divide and conquer algorithm.
Seunghun Sunmoon Lee·Dec 24, 2018Passing object to a function doesn’t pass copied object in JavaScript, whereas passing variable…There are things to be careful about when passing values or object to a function.
Seunghun Sunmoon Lee·Dec 17, 2018#MarsRover How to build small interactive game with board , controller using React, react-vis data…Today, we will build Mars Rover game, where you can instruct the rover and see if it stays in the boundary of the board