Microsoft Interview Report
- 0of 0 votes
AnswersFor a string with uneven number of white spaces, what is best method or algorithm to trim the white spaces between characters, except special characters like !or,
- mrinalkamboj December 18, 2012 in India for Bing
Also the beginning and end should not contain any white space| Report Duplicate | Flag | PURGE
Microsoft Tech Lead Algorithm - 2of 2 votes
AnswersGiven a 2D array of size m X n, containing either 1 or 0. As we traverse through, where ever we encounter 0, we need to convert the whole corresponding row and column to 0, where the original value may or may not be 0. Now devise an algorithm to solve the problem minimizing the time and space complexity.
- mrinalkamboj December 18, 2012 in India for Bing| Report Duplicate | Flag | PURGE
Microsoft Tech Lead Algorithm
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.