Salesforce | September | 2021 | LMTS | India
Anonymous User
2657

HR schedule full loop during a drive. It was on saturday. 4 rounds.

  1. Coding:-
    2. Longest increasing subsequence with greatest sum
    1. Longest substring with same elements.
      4. longest substring with unique elements
      1. longest subsequence with unique elements.
  2. Coding + Design
    3. Given two apis:-
    4. getSubCategories(String category)
    5. getProductsForCategory(String category)
    6. We will need to implement getProductTree(String Category, Integer depth)
    7. what happens if data is very huge.
    8. Scope for parallelisation to improve response time.
    1. Clients complain that only partial data is sent(like tree is printed only for 3 levels instead of 5 levels). How can that happen?
  3. HLD round
    11. asked to describe one project at current company on high level
    1. what is the complex project i worked on.
    2. Design stack overflow
      14. Capability to ask questions, upvote/downvote. Capability to answer questions, support comments on the questions, upvote/downvote.
      1. how to get questions and answer by paginated results. Answers sorted by no of upvotes/downvotes
      2. concentrated on data model
      3. how the questions are stored
        17. how the answers are stored.
  4. HM round
    19. why move to cloud
    20. monolith vs microservices
    21. etc
Comments (4)