What if you can't knock at your Madras Institute of Technology, Chennai seniors' door for advice? Read their placement interview questions and crack your next interview. 🏆
Q1. Input a file. Select first 3 lines of the file. Select the longest line and count the number of words in that line. It was easy. I used Java methods to solve th...read more
Q3. There exists a 3x3 matrix, start from the first element reach the last element of the matrix, between each edges there exists a weight. Reach the destination su...read more
Q9. Find the kth largest element in an array. I used MaxHeap concept but he asked me to define it using MinHeap. I modified the code and he accepted it.
Q10. When you search for a particular product in amazon, it displays some of the search results. But, only few particular products which are available in amazon are ...read more
Q15. But amazon can do the search in O(n). Why it has to go for O(nk)? For data structures like Hash tables and for large data, n will be large. So O(nk) is better t...read more