Welcome to the JS-Lab! This platform is designed to help interviewers and candidates conduct coding interviews efficiently and effectively.
Number | Name | Short Description | Level | Tags |
---|---|---|---|---|
1 | Reverse String | Reverse a given string | Easy | String |
2 | Palindrome | Check if a string is a palindrome | Easy | String, Array |
3 | Reverse Integer | Reverse the digits of an integer | Easy | Number |
4 | Fizz Buzz | Print numbers with Fizz/Buzz for multiples | Easy | Loop, Array |
5 | Anagram | Check if two strings are anagrams | Easy | String |
6 | Capitalize | Capitalize the first letter of each word | Easy | String |
7 | Mario | Print a Mario-style pyramid | Easy | Loop, Array |
8 | Array Chunking | Split an array into chunks of a given size | Medium | Array |
9 | Max Char | Find the most frequent character in a string | Medium | String |
10 | Binary Sum | Calculate the sum of two binary numbers | Hard | String, Number |
Please make sure you use 20 version of Node.js
NVM sample:
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
nvm use 20