LeetCode Question · Jan 2022 · Los Angeles

Microsoft |OA| SDE1 |help

5 upvotes 1,107 views 4 replies

Question Details

You are given a binary string and an integer k. You can swap any 2 consecutive value in string at most k times. For ex 01 will become 10 in...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Strings