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?
Senior Software Developer Java J2ee Interview Questions
98,170 senior software developer java j2ee interview questions shared by candidates
Remove the comments from code.
Clone a linked list that has a cycle (do not fix the cycle). Is there a way to uniquely identify a node without relying on a hash code?
can you join in a week
very basic RPN calculator question
How to make a global error class for Retrofit errors?
Shunting Yard Algorithm
Implement a lock-free queue/stack/... using atomic test-and-set functions.
The racehorse problem: given 25 horses and no stopwatch, and you can only race 5 horses at the same time, how few races does it take to find the fastest horse?
Sorting algorithm for a string array
Viewing 461 - 470 interview questions