Given a proposed String, write an in-place algorithm to remove all whitespace. For this challenge, assume you don't have access to a regular expression engine or SDK library function:
let sequence = "The qu ick fox jum ped over the lazy d o g"
Hints
How will your function search through the the data? How will you track the removal of data? Will you solution make use of fast enumeration? Why or why not?