Whenever you're ready, walk me through how you'd approach this.
How would you implement a function that returns true if k characters are required to replace one string with another, and another function that returns the number of rooms required to allocate the slots?