InJavaScript in Plain EnglishbyRoman Melnik·Dec 4, 2023Building a Hierarchical Tree From a Flat List (Traverse BFS, DFS to Find Node or Nodes)Trees are the most popular data structures. A tree can contain one special node called the “root” with zero or many subtrees. It may also…
InJavaScript in Plain EnglishbyRoman Melnik·May 15, 2023Mechanisms to Store the Data in the Browsers (Storage API)Since HTML5, modern browsers offer various types of options to store user data inside the browser. These storage options are known as…
InJavaScript in Plain EnglishbyRoman Melnik·May 12, 2023How the Event Loop works in the Chrome browserJavaScript has a runtime model based on an event loop, which is responsible for executing the code, collecting and processing events, and…
InJavaScript in Plain EnglishbyRoman Melnik·Dec 14, 2022JavaScript Algorithms: Binary Tree Traversal(BFS, DFS)Trees are the most popular data structures. Unlike ordinary trees, binary trees look like this:A response icon1A response icon1
InJavaScript in Plain EnglishbyRoman Melnik·Nov 24, 2022JavaScript Algorithms: Solve Fibonacci Sequence(LeetCode)The Fibonacci numbers, commonly denoted F(n) form a sequence, called the Fibonacci sequence, such that each number is the sum of the two…
InJavaScript in Plain EnglishbyRoman Melnik·Nov 14, 2022How to Make Your Mac Terminal Better and Make It More ColorfulIf you’re a software engineer with a Mac, like me, you probably work a lot in the Mac terminal. Working in the default Terminal is not very…
InJavaScript in Plain EnglishbyRoman Melnik·Nov 14, 2022How Methods of Primitive Data Types Work in JavaScriptJavaScript allows us to work with primitives. In this article, we will try to understand how methods appear on primitive values.
InJavaScript in Plain EnglishbyRoman Melnik·Nov 4, 2022JavaScript Algorithms: Knapsack problem(0–1)The knapsack problem is a problem in combinatorial optimization: Given a set of items, each with a weight and a value, determine the number…A response icon1A response icon1
InJavaScript in Plain EnglishbyRoman Melnik·Nov 1, 2022How to Implement JavaScript Array Methods By Yourselfmap, reduce, filter, forEach
InJavaScript in Plain EnglishbyRoman Melnik·Nov 1, 2022JavaScript Algorithms: ATM (Cash Machine)In this article, we will consider the popular task ATM, which is quite often used in interview questions. The task statement looks…