Top programming questions asked in interview
Programming questions are asked to check how much you familiar with fundamental concept of programming.
In coding interview questions are asked from data structure, algorithm along with logical questions. If you mastered in
array, string, linked list, binary tree, pattern printing etc. You easily crack the interview.
Here we are listing top programming questions asked in interview.
- How is a binary search tree is implemented ?
- How do you swap two numbers without using third variable ?
- Write a program to find prime factors of an integer ?
- How to reverse a singly linked list ?
- How do you find depth of a binary tree ?
- Print out all leaf nodes of a binary tree ?
- In an array 1-100 numbers are stored , one number is missing , how do you find it ?
- How to remove duplicate elements from array ?
- How can you reverse a string ?
- How to reverse a number ?
- How do you remove nth node from end of a linked list ?
- How do you find the largest and smallest number in an unsorted integer array ?
- How do you find the sum of two simply linked lists using stack?
- How do you find the length of a singly link lists ?
- How is radix sort algorithms implemented ?
- How do you convert a given string into an integer like atoi() ?
- How do you design a vending machine ?
- How to add an element at the middle of the linked list ?
- How do you find all the permutation of a string ?
- What is the difference between array and linked lists ?
- How do you perform inorder traversal in a given binary tree ?
- How do you perform preorder traversal in a given binary tree ?
- How is merged sort algorithm implemented ?
- How can you check a string contains only digits ?
- Program to find sum of all array elements ?
- Program to delete duplicate elements from an array ?
- What is the difference between SQL and NoSQL database ?
- Write a program to check whether two strings are anagram or not ?
- What is difference between NULL vs VOID in programming ?
- What is data structure ?
- What are some real world applications of stack ?
- How to check if two strings are rotation of each other ?
- How to calculate square root of a given number ?
- Write a program to transpose a matrix ?
- How to reverse a given string using recursion ?