You climb a 60 foot tree and have the ability to span up to 3 feet at a time. What's the minimum number of branches you'd have to touch to get the top?
Developer Interview Questions
269,104 developer interview questions shared by candidates
if a function returns itself, what will happen if it's called.
How would you find the largest value in an array?
sorting the red and green balls.RRRRRGGGGGGGG to RGRGRGRGRGGGGG
How do you remove extra parenthesis in a given equation Ex: ((a+b))*c should be converted to (a+b)*c
Write a function to cause stackoverflow.
How to find the medium number of a given array.
count the number of t's in the passage!
If a ping pong ball was stuck in a pipe that is cemented in the ground how would you get it out?
Interview question like that Q: 01 Given: 11. public static void parse(String str) { 12. try { 13. float f = Float.parseFloat(str); 14. } catch (NumberFormatException nfe) { 15. f = 0; 16. } finally { 17. System.out.println(f); 18. } 19. } 20. public static void main(String[] args) { 21. parse("invalid"); 22. } What is the result? A. 0.0 B. Compilation fails. C. A ParseException is thrown by the parse method at runtime. D. A NumberFormatException is thrown by the parse method at runtime. Answer: B
Viewing 481 - 490 interview questions