Given a positive integer, replace all occurrences of the digit 0 with 5. Do this without using additional space (e.g., without converting to a string of large length or using extra data structures).
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.