Verify only 1 edit action required to string in Javascript
The problem is to check if two strings are one (or zero) edits away. A javascript sample solution for this common interview problem.
OneBite.Dev - Coding blog in a bite size
The problem is to check if two strings are one (or zero) edits away. A javascript sample solution for this common interview problem.
. In a palindrome, characters have to appear in pairs for the string to be mirrored around the center, except possibly for one character. Here is the javascript solution
Here is how to solve the interview question for Check if two strings is anagram on javascript
Determine if a string has all unique characters, you can use a Set in JavaScript. See case sensitive and insensitive version.
The array chunking problem is another common interview question. The goal is to divide an array into smaller sub-arrays (chunks), where each chunk is of size n
The FizzBuzz problem is a classic coding interview question. Here is sample program and how to solve it
Checking if a string is a palindrome (same when reversed) in javascript. Also handling white space chars.
How to verify array is only contains unique value in Javascript. Answer is using Set!