The following are the top 50 Common Interview Programs Mostly asked in Interviews
Top 50 Common Interview Programs
- Fibonacci series
- Checking for prime number
- string palindrome
- Integer palindrome
- Armstrong number
- Avoiding deadlocks
- Factorial program
- Reversing strings
- Removing repeated elements
- Printing patterns
- Printing repetitive characters
- LCM & GCD of two numbers
- Square root of a number
- Reversing on array in place
- reversing the order of words
- Determining leap year
- performing binary search
- checking for anagrams
- designing a vending machine
- reversing a number
- first unique character of a string
- find middle element of linked list
- performing pre order traversal
- pre order traversal without recursion
- performing in order traversal
- in order traversal without recursion
- performing post order traversal
- post order traversal without recursion
- printing all leaves of a binary tree
- sorting an array using quicksort
- performing insertion sort
- performing bubble sort
- transposing a matrix
- Printing all permutations of a string
- reversing a string in place
- adding matrices
- multiplying matrices
- removing spaces in a string
- reversing a linked list
- finding the length of a linked list
- checking for loops in a linked list
- Find start of looping in a linked list
- finding the middle element of linked list
- finding nth element from the tale of a linked list
- converting a linked list to a binary tree
- sorting a linked list
- performing bucket sort
- performing counting sort
- performing merge sort
- Check if 2 strings are rotations of each other