Adding Spaces to a String (LeetCode 2109)
MediumLeetCode 2109 · Two Pointers · Google, Amazon +3 · 7:07Adding Spaces to a String · Straight Forward Easy · Leetcode 2109My notes
Sign in to keep private notes on every station, with video timestamps.
Pause here and write your approach in two lines. Compare it with MIK's when the video ends.
Sign in to write your approach →About this video
Video solution for LeetCode 2109 Adding Spaces to a String by codestorywithMIK: Strings, Medium. Topics: Array, Two Pointers, String, Simulation. Watch the explanation, then check the code and solve it on LeetCode.
- Difficulty
- medium
- Topics
- Array, Two Pointers, String, Simulation
- Patterns
- Two Pointers, Parsing & Simulation
- Chapter
- Strings
- Duration
- 7:07
Related problems
- String Compression (LeetCode 443)
- Find the Index of the First Occurrence in a String (LeetCode 28)
- Text Justification (LeetCode 68)
- Reverse Words in a String III (LeetCode 557)
- Backspace String Compare (LeetCode 844)
- Leetcode 165: Compare Version Numbers with stringstream (LeetCode 165)
- Append Characters to String to Make Subsequence (LeetCode 2486)
- Fraction Addition and Subtraction (LeetCode 592)