Hardest things to unit test
Senior Programmer Interview Questions
97,963 senior programmer interview questions shared by candidates
Given a tree of child/parent relationships, write an algorithm to find common parent
Write Java code to check if a string is a palindrome.
They asked me not to reveal any questions.
You have two methods: one method takes long time to run and the other completes in short time. You execute the long method first and after that you execute the short method. Which one will complete first. There is no setTimeout involved.
How to convert an Optional string to integer without throwing exception
Given a string of the form: "{Valery,Jason,Peter} was in {good,bad} mood and he went to the {beach, party, library}"; Print out all the permutations of the string. Eg: Valery was in good mood and he went to the beach.
A few other questions like what is CORS, delegation, do I have a styling standard.
Giving array of words and user can input any letters. Write a function that returns all possible words that start with the input string. They are looking for optimum solution.
Diff b/w var1 == var2 and var1.equals(var2) Which method needs to be implemented along with equals()?
Viewing 91 - 100 interview questions