Posts

Showing posts with the label Array

JavaScript Most Commonly Asked Data Structure Questions

Image
Let's See Some Of The Most Commonly Asked Data Structure Interview Questions with Answers Related To Arrays, String and Objects JS Data Structure - Education Funda 1. Custom sorting program in JS via Bubble Sort ? 2. Write a program to check if a string or word or number is palindrome ? Examples of Palindrome Words are:  racecar, madam. 3. Write a program to check if value/target exists or not in ascending array in O(log n) time complexity ? For doing this you should know the Binary Search Algorithm. 4. Write a program to get total vowel count from String ? 5. Write a program to prints factorial of any number ? 6. Write a program for check number is prime or not from 100 to 200 ? 7. Write a program to check whether number is perfect number or not ? Prime Number:  whose SUM of all factors equal to value expect value itself factor. 8. Write a program to find duplicate numbers in an integer array ? 9. How do you find all pairs of an integer array whose sum is equal to a...