LeetCode
Question
·
Sep 2020
·
Hyderabad
Microsoft | Sort words in a string
1,308 views
2 replies
Question Details
I was asked this question in the screening round at Microsoft Hyderabad. Given a string of words, sort the words in lexicographical order in place. Ex: "I love leetcode" Ans: "I leetcode love" Approach: Following...
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Sorting
Strings