Summary
I recently interviewed at OneByZero.ai for a role focusing on High-Level Design and Data Structures & Algorithms. Although I successfully solved a DSA problem, my performance in the HLD round led to my rejection.
Full Experience
Hi fellows,
I recently attended an interview at OneByZero.ai, where the rounds concentrated on both High-Level Design (HLD) and Data Structures & Algorithms (DSA).
HLD Round:
The first question was related to High-Level Design. I was asked to design a social media page similar to a Facebook page, specifically allowing users to create pages and followers to comment on posts. Since this was my very first HLD interview, I wasn't adequately prepared and didn't perform well. The interviewer, understanding my situation, offered to skip it, but I chose to attempt it regardless. Unfortunately, my proposed solution did not satisfy them.
DSA Round:
Following the HLD round, we moved on to Data Structures & Algorithms. The question was quite straightforward: I needed to find the largest substring with non-repeating characters. The interviewer stressed that the code should pass all test cases, and I managed to implement it correctly in a single attempt.
The final outcome was that I was not selected, primarily because of my poor performance in the HLD section.
Interview Questions (2)
Design a social media page that functions similarly to a Facebook page. Key requirements include:
- Users should be able to create their own pages.
- Followers of a page should be able to comment on posts made on that page.
Focus on the high-level design aspects of such a system.
Given a string, find the length of the longest substring without repeating characters. The implemented code must pass all test cases.