Move every '#' to the front of a string and keep the other characters in order
Company: HCL Technologies
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: easy
Interview Round: Other
Overview: Rearrange a string of letters, digits and hash symbols so every hash symbol comes first while the other characters keep their original order. It tests stable partitioning, building a string in linear time, and the right-to-left two-pointer technique for doing it in place.