About LLD and HLD

Some tips about preparation of interview for LLD and HLD

Mentor

Blog

In this blog , pleas read about the LLD and HLD interview preparation.

About LLD-Low Level Design-

Low Level design speaks about the class diagrams with a specific approach to methods and relations between classes, program specifications and some other low level details of a given system. Low level Design is also called as Object Oriented Design.

The Hiring team while taking interview for LLD, normally assess the candidates for their knowledge on creation of maintainable, flexible and modular reusable software For this they also see how the candidates use principles of Oject Oriented design.

a/ First understand the problem. If you have some queries about it, ask them. Collect all the required details and then start with the basic features of the problem.

b/ Properly define the core classes/objects.

c/ Define or establish a relationship between the classes and objects. Observe the interactions between them.

d/ Define all the methods so that the requisite parameters are fulfilled.

e/ Now apply all the OOD principles and Design patterns to make the system usable and maintainable.

f/ If it is asked that you have to implement a function also, write a well defined and well structured code.

Companies generally look for a candidate who can develop resilient and scalable systems. If some one understand different technologies , his or her demand is high in the market. HLD or hig Level Dessign is also called as Systemm Design. System design shows the complete architecture to be used. It also clearly shows the main items of the design being developed for main product and its interfaces.

How to prepare for HLD interview:

a/ Take some topic of design and prepare to design it. For a better understanding, try to first understand through some videos. These are available on YouTube. Start slowly, understand the things properly and proceed further. Once understood, design it yourself. It will give you a hands-on practice. Use your creativity to give the best design.

b/ Read and understand the basic principles of System Design. This is very important.

c/ Now see the actual examples. This will further strengthen yourself on the basics of design.

d/ Practice on at least 8-10 examples. Take the subject, write the possible solution of your own. Then compare it with the given solution.  It will give you an insight on the subject.

e/ You can do a complete revision of all the points. Do a assessment of yourself, improvise on the weak points.

Thhe interview:

When you face an interview for HLD or System Design, there is a smooth flow from one to other as below :

1/  Complete clarification about functional and non-functional aspects.