Didnt ask anything about me or my resume. They sent ma link to write the code. Asked me to write the code for finding the number of words in a string without using split and scanner. Then asked me to improve the code to accommodate corner case i.e if multiple spaces or null string etc. Asked me to write the test cases for the program.
Development Engineer Interview Questions
37,444 development engineer interview questions shared by candidates
How to discover if the given number is Power of 2 ?
Sort an array of integers with only 1s and 0s. Then sort an array of integers with numbers between 0 and 99.
Implement a reverse hash table
Given the upper left and lower right coordinates of two rectangles, determine if they overlap
Print the number of occurrences of a number in a sorted array of numbers. Input: 1 2 3 4 4 4 4 4 5 6 7 | 4 Ouput: 5
Give a 2D rectangular array represented as a 1D arrary in row-major form, rotate the array by 90 degrees
You have a list of sentences/words. How to find out the sub list that consists of a specific prefix? Ex: input: prefix="he", list = ["hello", "world", "hello world", "hey dude", "galaxy"....] output: ["hello", "hello world", "hey dude"]
Determine the first non-repeated character in a word. For example, in abbcaf it should return c. Do this in O(n) time with O(1) space.
Viewing 161 - 170 interview questions