Given an array of a 999,999 numbers, from 1 to a 1,000,000, there's one number missing. The array is not sorted, and you can only access the array using a function getNumber(), which pops one number from the array. Each number in the array can only be accessed once. There's one number missing, from 1 to 1 million. which number is this?
Development Engineer Interview Questions
37,127 development engineer interview questions shared by candidates
How would you call fire brigade if your office catches fire? Consider you dont have internet, telephone, or any means of communication.
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?
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)
I - Behavioral with Diresctor II- Bank Robbery III- K closest points to the origin IV- Climbing stairs TwoSUM
Asked about general internship experience.
- Given an array of integers (of any value, from MIN_INT to MAX_INT), how would you find the consecutive integers with the largest sum, and return their sum?
given value is 9876. print nine thousand eight hunder seventy six
Count no. of words in a string
Viewing 921 - 930 interview questions