Salesforce Low Level Design Interview Questions
In Salesforce LLD rounds, sometimes actual requirements may not be clear from problem statement and interviewer will expect you to figure it out by asking clarifying questions.
For example, A message queue is asked indirectly in the form of something like a connection pool or a job scheduler.
It follows the pattern that resources like connections, machines or cpu (in case of job scheduler) are limited and they may not be assigned immediately.
There is discussion about concurrency control when multiple threads are there.
There may also be discussion on concurrency control if our application is made distributed and we are using a central database (i.e. LLD discussion moving to HLD in the end).
Low Level Design of pub-sub queue, kafka and observer pattern is discussed frequently.
Apart from that cache like LRU cache, LFU cache questions are common.
https://leetcode.com/problems/lru-cache/description/
https://leetcode.com/problems/lfu-cache/description/
C++ / OOP questions
What happens if a class dynamically allocates memory but no destructor is defined
Can a constructor be private
Difference between abstraction and encapsulation
For example, A message queue is asked indirectly in the form of something like a connection pool or a job scheduler.
It follows the pattern that resources like connections, machines or cpu (in case of job scheduler) are limited and they may not be assigned immediately.
There is discussion about concurrency control when multiple threads are there.
There may also be discussion on concurrency control if our application is made distributed and we are using a central database (i.e. LLD discussion moving to HLD in the end).
Low Level Design of pub-sub queue, kafka and observer pattern is discussed frequently.
Apart from that cache like LRU cache, LFU cache questions are common.
https://leetcode.com/problems/lru-cache/description/
https://leetcode.com/problems/lfu-cache/description/
C++ / OOP questions
What happens if a class dynamically allocates memory but no destructor is defined
Can a constructor be private
Difference between abstraction and encapsulation
If you are looking for Salesforce DS & Algo Round Interview Questions then You can find then here: https://codezym.com/lld/salesforce-dsa
i
Below list is updated frequently. Reflects top Salesforce LLD questions in last 6 months.
Observer Pattern
Medium
5
Observer Pattern
Medium
Observer Pattern
Medium
Medium
Medium
State Pattern
Medium
Observer Pattern
Medium
Strategy Pattern
Medium
Strategy Pattern
Medium
Medium
Medium
State Pattern
Hard
Factory Pattern
Medium
Medium
Medium
Medium
Prashant Priyadarshi
Founder, CodeZym
Founder, CodeZym