Skip to content

A pool for common javascript coding interview problems & solutions

Notifications You must be signed in to change notification settings

ACGCET/JS-interview-codebook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JS-interview-codebook

A pool for common javascript coding interview problems & solutions

General

  1. How many ways to climbs step

Answer - LINK

  1. Palindrome Number

Answer - LINK

  1. Find given no is Prime or not

Answer - LINK

Arrays

  1. 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

  1. Given an array containingndistinct numbers taken from0, 1, 2, ..., n, find the one that is missing from the array.

Answer - LINK

  1. Remove duplicates elements

Answer - LINK

  1. Reverse array using built-in function (Reverse function) and without built-in function

Answer - LINK

  1. Find first repeated element in array

Answer - LINK

Strings

  1. 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

  1. Find how many segment in string

Answer - LINK

  1. Rotation operation in array (Both left and right)

Answer - LINK

  1. Find length of last word

Answer - LINK

  1. Print the most lengthiest string in an array

Answer - LINK

  1. Valid Parenthesis

Answer - LINK

  1. Roman To Integer

Answer - LINK

  1. Find Given strings is anagram or not

Answer - LINK

  1. Check occurrence of a character using a Regex

Answer - LINK

  1. Palindrome String using Built-in function and without built-in function

Answer - LINK

  1. Program to Replace all Instances of a Character in a String

Answer - LINK

  1. Replace All Instances Of a Character Using Regex

Answer - LINK

Objects

  1. Program to Create Objects in Different Ways

Answer

  1. Program to Remove a Property from an Object

Answer

  1. Program to Clone a JS Object

Answer

  1. Program to Merge Property of Two Objects

Answer

  1. Program to Count the Number of Keys/Properties in an Object

Answer

  1. Program to Add Key/Value Pair to an Object

Answer

  1. Program to Convert Objects to Strings

Answer

Collaborators

About

A pool for common javascript coding interview problems & solutions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published