with that go like this: you have an array of string you should print all the word by group. group define: by the same letters and the same number of repeated letter like example: dad,add,dda in same group it should be in O(N)
Software Development Engineer Interview Questions
32,835 software development engineer interview questions shared by candidates
Round1 : 1) Given a list of words, group them by anagrams Input: List of "cat", "dog", "god" Output: A Set of Sets of anagrams: {{'cat'}, {'dog', 'god'}} 3) Consider adding some additional tests in doTestsPass(). 4) Implement the AnagramSolution group() method correctly. 5) If time permits, try to improve your implementation. dog -> dgo -> {dog} god -> dgo -> {dog, god}
Round3 : Question1 : How will you implement your own ThreadPool using jdk1.4like that of Executor in jdk1.5 Question2: How will you convert a monolithic application like makemytrip into Microservices? Question3: We have less number of resources for the tasks, so are you ready to work in odd extended hours?
I - Behavioral with Diresctor II- Bank Robbery III- K closest points to the origin IV- Climbing stairs TwoSUM
Asked about general internship experience.
Program: Let's say U1,U2 are friends and vice versa. So given a list of friends, you need to find unique set of friends. For eg: U1,U2 U2,U3 U4,U5, U2,U1, U4,U5 Should return: U1,U2; U2,U3; U4,U5
Java Singleton (volatile, synchronize), HashMap, Heavier coin, segregate odd & even number from array list, left view of binary tree, remove larger element from right side of linked list. Reverse a singly linked list,
How will you find two strings are anagram?
Populating Next Right Pointers in Each Node in a Binary Tree in Leetcode.
Advanced Tech Questions
Viewing 881 - 890 interview questions