Javascript exercises
Like every programmer, I also need to practice my Javascript (and mathematics, of course) proficiency. In no specific order, I'll be posting some examples of the stuff I've been solving. You can also follow my progress in CodeSignal.
To understand the nitty gritty of the work I do, it is obviously important for me to understand the little details of Javascript. I went through You don't know JS (which I recommend) while starting these exercises.
Implement a custom .bind and .call
Implement a mini custom version of Jest
Find the rabbit
Get attribute by path
Invert a binary tree
Flatten array
Promisify function
Maximum wood length (binary search)
Traverse matrix in a spiral
Traverse a matrix diagonally and in zig zag
Generic traverse matrix diagonally
Sort matrix by number of repetitions and by value
Simple debounce
Shared entries
Sleep
At most one digit swap
Number of changed values required to sort array
Remove duplicated strings
Reverse string