JavaScript by default don't have randomness with normal distribution. We can use for that pretty...
Today I solved "Slay Achilles!" codewars task. Achilles numbers can be found on on-line encyclopedia...
Binary search is commonly used technique in computer science. Using this technique you can find...
Heap is a very useful data structure for solving many programming problems. One of the problem I...
This post is about maximum length of variable name in JavaScript. The answer is: 2 ** 29 - 63 Pr...
Very simple function that plays sine wave in browser environment. const play = (frequency = 300, du...
Platforms to practice Leetcode problem Implementation const maxProduct =...
This post is about function I wrote while solving LeetCode task. Complexity of naive solution for th...
While I was solving one of leetcode task I came upon idea that there is many similar tasks in many...
Generating permutations is pretty common problem in many algorithmic problems. I have already implem...
There is no sleep function in JavaScript, but with async/await syntax it is very easy to implement....
Motivation Github's verified commits may be useful especially, when you are making open so...