Write an API for a phonebook service where the answer time (search name by the phone number) does not depend on the size of the phonebook.
Senior Software Developer Interview Questions
97,999 senior software developer interview questions shared by candidates
Given a string of words and a maxWidth, write a method that inserts new lines where appropriate to perform a word-wrap. (Wrap on word boundaries, assume " " is fine). Now, how does your implementation handle string with multiple spaces between words ... Are those extra spaces lost or preserved?
very basic RPN calculator question
Shunting Yard Algorithm
How to get a random number from an array of length 100, without repetition.
Difference between process/thread, heap/stack. What is JIT?
1st phase 1st technical interview: Problem was that given a positive integer n print all distinct ordered sets of positive integer which have sum equal n. eg:- for n=2 output: { [1, 1] } for n=3 output: { [1, 1, 1], [1, 2], [2, 1] } for n=4 output: { [1, 1, 1, 1], [1, 1, 2], [1, 2, 1], [2, 1, 1], [2, 2], [1, 3], [3, 1] }
Compare two strings, return if one can be comprised of the other by swapping 2 characters, adding a char, removing a char, or if they are identical, or cannot determine.
Write a program to detect if a String is a palidrome
They were not sure what to ask actually. I found the interviewers like school kids. Hardly 1-2 yrs experienced people.
Viewing 471 - 480 interview questions