QuickSort UI
Medium · Onsite · Full-time
There were two back-to-back technical rounds, and they covered completely different areas. The first round was DSA and OOP, where I had to write QuickSort and explain the partition step clearly. I chose Lomuto partition since it's easier to implement cleanly under pressure, and the interviewer seemed satisfied with the explanation. The second round switched to frontend and they asked me to write React or plain JS code on paper for a small UI. The UI had three buttons, and clicking each one had to change the color of specific boxes on the page. I kept the state in an object mapping box IDs to colors and updated it on each click handler. Writing React on paper felt a little weird, but the logic was manageable once I committed to a simple state structure.
