A pool for common javascript coding interview problems & solutions
- How many ways to climbs step
Answer - LINK
- Palindrome Number
Answer - LINK
- Find given no is Prime or not
Answer - LINK
- Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order. You may assume no duplicates in the array.
Answer - LINK
- Given an array containingndistinct numbers taken from0, 1, 2, ..., n, find the one that is missing from the array.
Answer - LINK
- Remove duplicates elements
Answer - LINK
- Reverse array using built-in function (Reverse function) and without built-in function
Answer - LINK
- Find first repeated element in array
Answer - LINK
- Arrange coin problem (You have a total of n coins that you want to form in a staircase shape, where every k-th row must have exactly k coins.Given n, find the total number of full staircase rows that can be formed.)
Answer - LINK
- Find how many segment in string
Answer - LINK
- Rotation operation in array (Both left and right)
Answer - LINK
- Find length of last word
Answer - LINK
- Print the most lengthiest string in an array
Answer - LINK
- Valid Parenthesis
Answer - LINK
- Roman To Integer
Answer - LINK
- Find Given strings is anagram or not
Answer - LINK
- Check occurrence of a character using a Regex
Answer - LINK
- Palindrome String using Built-in function and without built-in function
Answer - LINK
- Program to Replace all Instances of a Character in a String
Answer - LINK
- Replace All Instances Of a Character Using Regex
Answer - LINK
- Program to Create Objects in Different Ways
Answer
- Program to Remove a Property from an Object
Answer
- Program to Clone a JS Object
Answer
- Program to Merge Property of Two Objects
Answer
- Program to Count the Number of Keys/Properties in an Object
Answer
- Program to Add Key/Value Pair to an Object
Answer
- Program to Convert Objects to Strings
Answer
- Saravana Kumar - project owner
- Mariappan - Reviewer