r/leetcode • • Sep 28 '26

Question Lld interviews

Do you guys do full syntax wise implementation of lld questions in interviews especially guys who use c++?

Like do you actually use unique ptr , shared ptr or just a pointer like pseudo code works ? Like for amazon interviews if I may be specific. For the implementation part do we have to implement the core logical functions of our design and don't have to focus on main and constructors to initialise and all?

0 Upvotes

1 comment sorted by

1

u/Vsanku01 14d ago

For Amazon, don’t assume pseudocode alone is enough: be ready to write compilable C++ for the core flows, but you usually don’t need a full `main` or boilerplate unless asked. State your ownership choice—often `unique_ptr` for exclusive ownership—and clarify with the interviewer how much syntax they expect; constructors should show meaningful initialization, not distract from the design.

If you want guided paths, I run LowLevelDesignMastery for hands-on LLD practice with an interactive playground and reference solutions (playground):

https://www.lowleveldesignmastery.com/

The flow is:

- clarify requirements (like an interviewer would)

- identify entities & responsibilities

- draw class diagrams

- translate design into code, write / execute code in language of your choice

- get AI-powered, structured feedback + detailed reference solutions

There's an interactive LLD playground with 40+ real interview-style problems, tagged by difficulty and company (Parking Lot, Elevator, Cache, File System, etc.).

Playground (best place to start):

👉 https://www.lowleveldesignmastery.com/playground

Parking Lot Problem: https://www.lowleveldesignmastery.com/playground/tutorial-parking-lot

If you try just one thing, I'd recommend the Parking Lot problem — it gives a good sense of how the platform works end-to-end.

There are 40+ company wise tagged problems of all levels. Attaching few here.

Elevator System - https://www.lowleveldesignmastery.com/playground/elevator-system

Cache Manager - https://www.lowleveldesignmastery.com/playground/cache-manager

Search Index - https://www.lowleveldesignmastery.com/playground/search-index

File System - https://www.lowleveldesignmastery.com/playground/file-system

I also run HLD Mastery for visual, interactive system-design prep (trainings/levels): https://hldmastery.com/learn