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 Developer Java Interview Questions
98,170 senior developer java 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
See Interview Questions for Similar Jobs
Senior Software Developer JavaSenior Software Developer Java J2eeSenior Java DeveloperSoftware Developer JavaJava Full Stack DeveloperSenior Software Engineer JavaSenior Java Software DeveloperSenior Software Engineer Java DeveloperLead Java DeveloperSenior Java Developer Tech LeadMedical Software Developer Java DeveloperJava ArchitectSr Java DeveloperSenior Java ProgrammerSenior Software Engineer Senior Java DeveloperSenior Java Applications DeveloperJava Applications DeveloperSoftware Engineer Java Developer