Coding Questions -
1. . Exchange kth node from start and kth node from end of a singly linked list.
2. Given a number, you have to find next greater number which has same set of digits.
3. Given a binary tree, you have to print level order traversal of the tree (left child then right child) but every next level has to be printed in next line.10. Find the minimum element in the rotated array of integers
11. Find highest length substring such that there are equal number of 0’s and 1’sin array of 1’s and 0’s only
12. Given a dictionary, find all the words which are anagram of each other
13. Given a sorted array and a number ‘c’ . find pair of numbers such that a+b=c
14. Given a sorted array .remove duplicates from it
15. Given a binary tree T1 with millions of node and another binary tree T2 with hundred of nodes.Find if T2 is subtree of T1.
13. Given a sorted array and a number ‘c’ . find pair of numbers such that a+b=c
14. Given a sorted array .remove duplicates from it
15. Given a binary tree T1 with millions of node and another binary tree T2 with hundred of nodes.Find if T2 is subtree of T1.
Interview Questions -
- Two processes are running on different computers how will you make them talk to each other.
- What is an API, REST, write a small REST API
- What is a thread
- Where are threads useful
- What is virtual memory
- Explain Paging
- some questions related to Process scheduling
- What happens when your ram is fully occupied.
- Write a small c++ multi-thread program
- What parts of memory do different threads share
- Problem with shared memory
- Locking mechanisms
- Problems with locks
- What is a deadlock
- How will you solve a deadlock
- How will you detect a cycle in a graph
- How will you detect a cycle in a graph using BFS
- You are given a very big file you need to give the top 10 most appeared words in that file.
- DBMS SQL queries. Top N query
Comments
Post a Comment