Tip 1 : Note down the questions which are asked in the previous interview and try to find the answers for them.
Tip 2 : Stay consistent in solving problems with DSA. Solve atleast 1 problem a day.
Tip 1 : Mention the impact of your work on your resume. Mention metrics which you have improved.
Tip 2 : Mention the tools and skills that you have and use it for your work.






If we are given an array ARR=[1,2,3] then the power set P(ARR) of the set ARR is: [ [], [1], [2], [1,2], [3], [1,3], [2,3], [1,2,3] ]
For every subset 'X' present in power set P(ARR) of set ARR, X must be sorted i.e. in the example above:
P1(ARR) = [ [], [1], [2], [1,2], [3], [1,3], [2,3], [1,2,3] ]
P2(ARR) = [ [], [1], [1,2,3], [2], [1,2], [3], [1,3], [2,3] ]
P3(ARR) = [ [], [1], [2], [1,2], [3], [1,3], [2,3], [2,3,1] ]
P1(ARR) and P2(ARR) will be considered correct power sets but P3(ARR) will not be considered correct because there the last subset [2, 3, 1] is not sorted.
Design grocery store app
Tip 1 : Write the APIs and mention whichever is sync and async.
Tip 2 : Mention the components used for designing the system.
Design a simplified version of Twitter where users can post tweets, follow/unfollow another user, and is able to see the 10 most recent tweets in the user's news feed. * Implement the Twitter class: * Twitter() Initializes your twitter object. * void postTweet(int userId, int tweetId) Composes a new tweet with ID tweetId by the user userId. Each call to this function will be made with a unique tweetId. * List getNewsFeed(int userId) Retrieves the 10 most recent tweet IDs in the user's news feed. Each item in the news feed must be posted by users who the user followed or by the user themself. Tweets must be ordered from most recent to least recent. * void follow(int followerId, int followeeId) The user with ID followerId started following the user with ID followeeId. * void unfollow(int followerId, int followeeId) The user with ID followerId started unfollowing the user with ID followeeId.
Wrote the methods and explained the datastructure which will be used for this case.
Implemented all the methods in a readable form and production ready.
Questions related to leadership were asked and grilled down.
Why do you want to join this organization?

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?