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?
Software Engineer Senior Interview Questions
67,762 software engineer senior interview questions shared by candidates
very basic RPN calculator question
Sorting algorithm for a string array
How to make class as Immutable
When was the last time you made a mistake?
Differences between Perl and Python
can you join in a week
Delete duplicate in sorted linked list
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?
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?
Viewing 331 - 340 interview questions
See Interview Questions for Similar Jobs
Software Engineer Senior Java DeveloperJunior Software Development EngineerSoftware Engineer UxSenior Software Engineer Senior Java DeveloperSoftware Engineer SrSoftware Engineer VSoftware Engineer Software DeveloperSoftware DesignSenior Software Development EngineerSoftware DevelopersSoftware Engineering JavaSoftware Development EngineerJr Software EngineerSoftware Developer 3Software Engineer JavaSoftware Engineering Java DeveloperSoftware EngineeringSoftware Development Engineer Server Side