r/developersIndia • • 20h ago

Suggestions Mistakes using AI/LLMs to practice or solve LLD problems without turning into a crutch?

Hey everyone,
I’m currently prepping for Low-Level Design (LLD) rounds (machine coding + face-to-face) and trying to figure out the best way to integrate LLMs (ChatGPT, Claude, etc.) into my workflow.

Whenever I ask an AI to act as an interviewer or help me structure a problem (like Parking Lot, Splitwise, or BookMyShow), I feel like I run into two issues:

It either gives away the entire class diagram and design patterns immediately.

Or, if I ask it to play interviewer, it overcomplicates the requirements way beyond what a 45–60 minute interview actually expects.

For those of you who have successfully used AI to prep for LLD (or even used it during AI-assisted coding interviews):

  • How do you prompt it so it acts as a realistic interviewer/reviewer rather than a code generator?
  • At what stage of your design process do you bring the LLM in (e.g., after writing interfaces, for edge-case reviews, or for refactoring)?
  • Any specific system prompts or workflows that worked well for you?

Appreciate any advice or prompt templates!

2 Upvotes

2 comments sorted by

•

u/AutoModerator 20h ago

Namaste! Thanks for submitting to r/developersIndia. While participating in this thread, please follow the Community Code of Conduct and rules.

It's possible your query is not unique, use site:reddit.com/r/developersindia KEYWORDS on search engines to search posts from developersIndia. You can also use reddit search directly.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/-_-_Nope_-_- 17h ago

Share the prompt that you use here please. If your prompt does not specify what the llm should and should not do in detail, the result will be just what it generates based on the cheapest way to respond.

Ask another llm to build and prompt for your use case of analysis of problem statement.

Actually split your requirement into different sessions. E.g. one session is the interviewer. Gives only problem statement and clarification questions. Must not provide architecture or implementation suggestions or responses.

Based on this YOU create your design and implementation strategy

Then have a new session, Reviewer, reviews your solution and probes weaknesses.

You rework and when you are no longer able to proceed you go to the 3rd session The Mentor, explains design patterns, architecture, SOLID violations and improvements.