how would you find maximum element in an array of numbers.
Desarrollador Sr Java Interview Questions
713,819 desarrollador sr java interview questions shared by candidates
How would you write a sort routine to ensure that identical elements in the input are maximally spread in the output?
Implement an LRU cache.
Sort a million 32 bit integers using only 2MB of RAM
What's the difference between abstract and interface in Java
Given a string, return a boolean value if the strings contains matching brackets Example: Input: "This is [a valid] string" Output: True Input: "This is an [invalid string" Output: False
Given an array of integers, implement a class to take a snapshot. In particular 2 methods: - int takeSnaphost() //returns the snapshot id - int getFromSnapshot(int snapshotId, int arrayIndex)
Three questions; two on algorithms and one on debugging.
Given two strings with the same characters except for one additional character in one string, return that additional character.
Give you a 16 bit binary number. How do you change the 11th and 12th bit to some given number.
Viewing 1891 - 1900 interview questions