Are you preparing for a Javascript interview?. Then this list may help you to crack the interview.
In the past 4 years I have interviewed for around 20 companies and created a list of things that these companies often ask.
I agree, you agree that Javascript interview is a bit different than the other software engineer interviews.
So I have separated the preparation in three different parts.
- Data Structures and Algorithms (To test the problem solving skills).
- Web development and Computer science stuffs (To test the computer science skills).
- Javascript specific questions (To test the grip on the language).
- Understanding javascript programming language in order to use it.
- Data Structures in javascript
- Array
- Object.
- Strings.
- Stack.
- Queue.
- List.
- Linked List
- Stack using linked list
- Queue using linked list
- Doubly Linked list
- Deque
- Deque using doubly linked list
- Circular linked list
- Priority Queue
- Circular Doubly linked list
- Binary Search Tree
- Others I am writing currently and will be added soon.
- Algorithms in Javascript
- Given an unsorted array of integers find a pair with given sum in it
- Right circular rotation on an array of integers
- Left circular rotation on array of integers
- Convert decimal to binary, octal or hexa in javascript
- Count number of sub-string occurrence in a string
- Swap two numbers without temp variables
- Palindrome string
- Program to check balanced parentheses
- Find the biggest perfect square in an array
- Print all subarrays with a given sum k in an array
- Find digital root of a given number
- Buggy Calculator
- Form the smallest possible number from the given number
- Find missing alphabets to make a string panagram
- Check if string has duplicate letters
- Difference between square of sum of numbers and sum of square of numbers.
- Converting string to jadencase
- Check if given number is armstrong in javascript
- Find all the armstrong number between two numbers
- Print matrix in zigzag format
- Print matrix in L pattern
- Program to check the prime number
- Find the largest prime factor
- Factorial program in javascript
- Convert Roman numeral to an integer
- Print all the unique 2 digit combinations of given numbers
- Program to find the nth Fibonacci in javascript
- Program to print the Collatz sequence in javascript.
- Maximum Collatz sequence under 1000000
- Check if an array is palindrome in javascript
- Sort a stack using another stack
- Linear search algorithm in javascript
- Check if string contains a substring in javascript
- Program to check if a subarray with 0 sum exits or not
- Find the correct position to insert an element in the array
- Check if two string are anagram of each other
- Minimum characters to delete to make string anagram
- Find the maximum sum of products of two arrays.
- Program to add two binary numbers
- Find distinct ways to climb the stairs in javascript.
- Program to reverse a queue
- Selection sort in javascript
- Reverse a stack using recursion.
- Caesar Cipher in javascript
- Program to find the GCD of two numbers in javascript.
- Find the LCM of two numbers in javascript
- FizzBuzz program in javascript
- Program to print all the prime numbers from 1 to 100.
- Count all substrings having character k.
- Number of subarrays with given sum k
- Reverse a string using recursion
- Reverse a string using stack
- How to reverse an array in javascript
- Absolute difference between diagonals of matrix
- Program to print the chess board pattern in javascript
- Program to print the pyramid pattern
- Program to print the diamond pattern
- Program to print the floyd triangle
- Program to print the pascal triangle patterns
- Algorithm to merge two sorted array
- Program to print all the permutation of string
- Implement a Stack using Queue
- Bubble sort algorithm in javascript
- Recursive Bubble sort algorithm
- Insertion sort algorithm in javascript
- Recursive Insertion Sort Algorithm
- Find the maximum depth of nested parentheses in a string
- Sorting a linked list
- Learn how to implement two stack with an array
- Program to reverse a linked list using a stack
- Learn how to reverse a linked list
- Learn how to reverse a linked list recursively
- Program to check if two stacks are equal
- Program to print the next greater element in the array
- Program to check palindrome linked list
- Program to find an element in array such that sum of left array is equal to sum of right array
- Alternatively merge two different arrays
- Program to find the duplicate element in the linked list
- Sum and Product of all the nodes in the linked list which are less than k
- Print the last k nodes of the linked list in reverse.
- Decode a string (encoded with number followed by string)
- Program to sort only positive numbers of the array
- Count number of sub string recursively
- Implement stack with max and min function
- Bubble sort using two stacks
- Learn how to shuffle an array in javascript
- Learn how to reverse a doubly linked list
- Recursively reverse a doubly linked list
- Merge two sorted linked list
- How to find loop in linked list
- Find height and width of binary tree
- Tree traversal in Javascript
- Javascript specific problems
- Javascript confirm box with yes & no option
- Replace all string occurrences in javascript
- How to find the substring in javascript
- How to find elements with indexof in javascript
- Javascript alert, confirm, prompt method
- Javascript settimeout method
- Javascript setinterval method
- How to use array sort in javascript
- Convert a string to lowercase in javascript
- Remove an item from an array in javascript
- Convert a string to uppercase in javascript
- Javascript get unique items from array
- How to get the last element of the array in javascript
- Get the current URL in javascript
- Different ways to get element by id in javascript
- How to open new tab in javascript
- Convert string to array in javascript
- Different ways to reload/refresh page in javascript
- Different for loop in javascript
- Best way to compare strings in javascript
- How to reverse a string in javascript
- Dutch national flag problem
- How to create a responsive sidebar menu
- 6 ways to convert string to a number in javascript
- Convert int to string in javascript
- How to copy array in javascript
- Get element by class in Javascript
- How to check undefined in javascript
- 3 different ways to hide DOM element using Javascript
- How to capitalize first letter of string in javascript
- How to format phone number in javascript
- How to merge objects in javascript
- Redirect url in javascript
- How to generate random number in javascript
- How to check if given object is array in javascript
- How to format a number to a currency in javascript
- How to create key value array in javascript
- How to remove object from array in javascript
- Unique id generator in javascript
- How to loop through object in javascript
- Make javascript functions sleep
- What is !! (double negation) operator in javascript?
- Learn how to round to 2 decimal places in javascript
- Difference between == and === operator in javascript
- let vs var in javascript
- Javascript const vs var
- Difference between != and !== operator in javascript
- How to loop through array in javascript
- How to find length of an array in javascript
- How to encode a url with javascript
- How to validate an email with javascript
- How to Copy to clipboard with Javascript.
- How to get url parameter using javascript
- Compare two array or object with JavaScript
- What is debouncing in javascript?
- What is throttling in javascript?
- How to do lazy loading in javascript
- Javascript function that returns sum of the previous values
- Restrict modification of object properties in javascript.
- Create a digital clock in javascript
- Javascript function to create hexa color
- How to load script efficiently with async and defer
- What is the difference between an array and an object in JavaScript?
- Credit card validation in javascript
This is the effort of last two years when I had decided to solve problems and post them on my blog. There is a long way ahead and I am planning to make it bigger by adding more useful resources.
Please do check them and if you think this will be helpful in any way then share with your friends.
Also from the coming Monday (02/03/2020). I will be sharing how to create different types of components in React and many more cool stuffs.
you can follow me on Twitter @learnersbucket for regular updates.
Top comments (0)