So here is List of 20 Coding which can be asked in Coding Interview.
- How is a bubble sort algorithm implemented?
- How to print the first non-repeated character from a string?
- How to find the first non repeated character of a given String?
- How do you find duplicate numbers in an array if it contains multiple duplicates?
- How do you remove duplicates from an array in place?
- How are duplicates removed from an array without using any library?
- How do you find the middle element of a singly linked list in one pass?
- How is a binary search tree implemented?
- How do you traverse a given binary tree in preorder without recursion?
- How do you check if a given linked list contains a cycle? How will you find initial node of the cycle?
- How is a merge sort algorithm implemented?
- How do you print all nodes of a given binary tree using inorder traversal without recursion?
- How do you reverse a singly linked list without recursion?
- How is a radix sort algorithm implemented?
- How do you swap two numbers without using the third variable?
- How do you design a vending machine?
- Write a program to find prime factors of an integer?
- What is the difference between Comparison and Non-Comparison Sorting Algorithms?
- Difference between a stable and unstable sorting algorithm?
- What is Depth First Search Algorithm for a binary tree?