I did the Minimum Swaps problem – find minimum swaps required to make the array sorted
Then, the Maximum Subarray Sum problem – find maximum sum of a subarray
And, the Space 20 Problem – manipulate string to replace all spaces by ‘%20’
I did the Minimum Swaps problem – find minimum swaps required to make the array sorted
Then, the Maximum Subarray Sum problem – find maximum sum of a subarray
And, the Space 20 Problem – manipulate string to replace all spaces by ‘%20’
Leave a comment