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 Engineer C Interview Questions
95,764 senior software engineer c interview questions shared by candidates
Remove the comments from code.
can you join in a week
very basic RPN calculator question
How to make a global error class for Retrofit errors?
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
Why did you leave past organisations? Asked by this HCL Manager.
Differences between Perl and Python
Viewing 441 - 450 interview questions
See Interview Questions for Similar Jobs
Senior SoftwareSoftware Developer CSoftware Engineer Senior Java DeveloperSoftware Engineer CcSenior Research Software Development EngineerC Software EngineerC Java DeveloperC DeveloperSenior Embedded Software EngineerSoftware Engineer CSenior Lead Software EngineerC Software DeveloperTechnical Lead Senior Java Software Engineer