SukanyaPai
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.

      Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

      Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

      Explore these features while you wait
      Complete general settings
      Bookmark and like published notes
      Write a few more notes
      Complete general settings
      Write a few more notes
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.

    Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Explore these features while you wait
    Complete general settings
    Bookmark and like published notes
    Write a few more notes
    Complete general settings
    Write a few more notes
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    3
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # DSA & System Design Practice Plan ###### tags: `dream company`,`amazon`,`google`,`intuit`,`netflix`,`walmart`,`VISA` > This is the practice plan for the next 3 months to redirect focus on necessary topics. :computer: ## :memo: Where do I start? What do I follow? ### Step 1: Prep Stage - [ ] Be motivated- keep reminding why do you need this - [ ] Try waking up early in the morning - [ ] Be Focussed - [ ] Dedicate 8 hours per day - [ ] Additional 2 hours *2 =4 Hours during office transit per day :rocket: ### Step 2: Data Structures and Algorithms: Topics to be covered Following are the topics that need to be covered: :link:[GeeksForGeeks](https://www.geeksforgeeks.org/must-do-coding-questions-for-companies-like-amazon-microsoft-adobe/) :::info :bulb: **Tips:** 1. Solve it in Leet Code/ InterviewBit/ GeeksForGeeks/ Hackerrank. 2. First try solving a problem by keeping half an hour timer. In case I am not able to solve it, switch off the timer and try solving it offline without time restrictions. 3. If I am still not able to solve it after at max 1 hour, Go to next problem. Meanwhile, think of the possible solution to that problem. 4. Finally, take help of Google and then solve it and learn it. 5. Practice coding in Google Docs- The code written in doc should be free of compilation errors. This helps you to write error free code during interviews. 6. These are only the practice problems for you to get familiar with coding. Once you solve these, try to solve more and more and more on each topic! ::: 1. **Arrays:** - [ ] Subarray with given sum - [ ] Count the triplets - [ ] Kadane’s Algorithm - [ ] Missing number in array - [ ] Merge two sorted arrays - [ ] Rearrange array alternatively - [ ] Number of pairs - [ ] Inversion of Array - [ ] Sort an array of 0s, 1s and 2s - [ ] Equilibrium point - [ ] Leaders in an array - [ ] Minimum Platforms - [ ] Reverse array in groups - [ ] K’th smallest element - [ ] Trapping Rain Water - [ ] Pythagorean Triplet - [ ] Chocolate Distribution Problem - [ ] Stock buy and sell - [ ] Element with left side smaller and right side greater - [ ] Convert array into Zig-Zag fashion - [ ] Last Index of 1 - [ ] Spirally traversing a matrix - [ ] Largest Number formed from an Array 1. **Strings:** - [ ] Reverse words in a given string - [ ] Permutations of a given string - [ ] Longest Palindrome in a String - [ ] Recursively remove all adjacent duplicates - [ ] Check if string is rotated by two places - [ ] Roman Number to Integer - [ ] Anagram - [ ] Remove Duplicates - [ ] Form a Palindrome - [ ] Longest Distinct Characters in the string - [ ] Implement Atoi - [ ] Implement strstr - [ ] Longest Common Prefix 1. **Linked List:** - [ ] Finding middle element in a linked list - [ ] Reverse a linked list - [ ] Rotate a Linked List - [ ] Reverse a Linked List in groups of given size - [ ] Intersection point in Y shaped linked lists - [ ] Detect Loop in linked list - [ ] Remove loop in Linked List - [ ] n’th node from end of linked list - [ ] Flattening a Linked List - [ ] Merge two sorted linked lists - [ ] Intersection point of two Linked Lists - [ ] Pairwise swap of a linked list - [ ] Add two numbers represented by linked lists - [ ] Check if Linked List is Palindrome - [ ] Implement Queue using Linked List - [ ] Implement Stack using Linked List - [ ] Given a linked list of 0s, 1s and 2s, sort it - [ ] Delete without head pointer 1. **Stacks and Queues:** - [ ] Parenthesis Checker - [ ] Next larger element - [ ] Queue using two Stacks - [ ] Stack using two queues - [ ] Get minimum element from stack - [ ] LRU Cache - [ ] Circular tour - [ ] First non-repeating character in a stream - [ ] Rotten Oranges - [ ] Maximum of all subarrays of size k 1. **Trees:** - [ ] Concepts - [ ] Traversals - Preorder, Postorder, inorder, BFS, DFS, Level order Traversals - [ ] BSTs - [ ] BBSTs - [ ] Print Left View of Binary Tree - [ ] Check for BST - [ ] Print Bottom View of Binary Tree - [ ] Print a Binary Tree in Vertical Order - [ ] Level order traversal in spiral form - [ ] Connect Nodes at Same Level - [ ] Lowest Common Ancestor in a BST - [ ] Convert a given Binary Tree to Doubly Linked List - [ ] Write Code to Determine if Two Trees are Identical or Not - [ ] Given a binary tree, check whether it is a mirror of itself - [ ] Height of Binary Tree - [ ] Maximum Path Sum - [ ] Diameter of a Binary Tree - [ ] Number of leaf nodes - [ ] Check if given Binary Tree is Height Balanced or Not - [ ] Serialize and Deserialize a Binary Tree 1. **Heap:** - [ ] Find median in a stream - [ ] Heap Sort - [ ] Operations on Binary Min Heap - [ ] Rearrange characters - [ ] Kth largest element in a stream - [ ] Merge K sorted linked lists - [ ] Kth largest element in a stream 1. **Recursion:** - [ ] Flood fill Algorithm - [ ] Number of paths - [ ] Combination Sum – Part 2 - [ ] Special Keyboard - [ ] Josephus problem 1. **Backtracking:** - [ ] [Concepts](https://www.interviewbit.com/courses/programming/topics/backtracking/) - [ ] N-Queen Problem - [ ] Solve the Sudoku - [ ] Rat in a Maze Problem - [ ] Word Boggle - [ ] Generate IP Addresses 1. **Hashing:** - [ ] [Concepts](https://www.interviewbit.com/courses/programming/topics/hashing/) - [ ] Relative Sorting - [ ] Sorting Elements of an Array by Frequency - [ ] Largest subarray with 0 sum - [ ] Common elements - [ ] Find all four sum numbers - [ ] Swapping pairs make sum equal - [ ] Count distinct elements in every window - [ ] Array Pair Sum Divisibility Problem - [ ] Longest consecutive subsequence - [ ] Array Subset of another array - [ ] Find all pairs with a given sum - [ ] Find first repeated character - [ ] Zero Sum Subarrays - [ ] Minimum indexed character - [ ] Check if two arrays are equal or not - [ ] Uncommon characters - [ ] Smallest window in a string containing all the characters of another string - [ ] First element to occur k times - [ ] Check if frequencies can be equal 1. **Bit Manipulation:** - [ ] Find first set bit - [ ] Rightmost different bit - [ ] Check whether K-th bit is set or not - [ ] Toggle bits given range - [ ] Set kth bit - [ ] Power of 2 - [ ] Bit Difference - [ ] Rotate Bits - [ ] Swap all odd and even bits - [ ] Count total set bits - [ ] Longest Consecutive 1’s - [ ] Sparse Number - [ ] Alone in a couple - [ ] Maximum subset XOR 1. **Greedy Algorithm:** - [ ] [Concepts](https://www.interviewbit.com/courses/programming/topics/greedy-algorithm/) - [ ] Activity Selection - [ ] N meetings in one room - [ ] Coin Piles - [ ] Maximize Toys - [ ] Page Faults in LRU - [ ] Largest number possible - [ ] Minimize the heights - [ ] Minimize the sum of product - [ ] Huffman Decoding - [ ] Minimum Spanning Tree - [ ] Shop in Candy Store - [ ] Geek collects the balls 1. **Dynamic Programming:** - [ ] [Concepts](https://www.interviewbit.com/courses/programming/topics/dynamic-programming/) - [ ] Minimum Operations - [ ] Max length chain - [ ] Minimum number of Coins - [ ] Longest Common Substring - [ ] Longest Increasing Subsequence - [ ] Longest Common Subsequence - [ ] 0 – 1 Knapsack Problem - [ ] Maximum sum increasing subsequence - [ ] Minimum number of jumps - [ ] Edit Distance - [ ] Coin Change Problem - [ ] Subset Sum Problem - [ ] Box Stacking - [ ] Rod Cutting - [ ] Path in Matrix - [ ] Minimum sum partition - [ ] Count number of ways to cover a distance - [ ] Egg Dropping Puzzle - [ ] Optimal Strategy for a Game - [ ] Shortest Common Supersequence 1. **Divide and Conquer:** - [ ] Concepts - [ ] Problems - [ ] :rocket:[Link to problems](https://www.geeksforgeeks.org/divide-and-conquer/?ref=ghm) 1. Sorting: - [ ] [Bubble Sort](https://www.interviewbit.com/tutorial/bubble-sort/) - [ ] Insertion Sort - [ ] Selection Sort - [ ] Merge Sort - [ ] [Quick Sort](https://www.interviewbit.com/tutorial/quicksort-algorithm/) - [ ] Time and space complexity analysis of the above sorts 1. **Graphs:** - [ ] Concepts - [ ] [BFS](https://www.interviewbit.com/tutorial/breadth-first-search/) - [ ] [DFS](https://www.interviewbit.com/tutorial/depth-first-search/) - [ ] [Djkstra's Algorithm](https://www.interviewbit.com/tutorial/dijkstra-algorithm/ ) - [ ] Topological Sort - [ ] Disjoint Sets - [ ] Minimum Spanning Trees - [ ] Problems - [ ] :rocket:[Link to problems](https://www.geeksforgeeks.org/graph-data-structure-and-algorithms/) :link:[Language wise Interview Questions](https://github.com/sukanya-pai/awesome-interview-questions) :link:[Data Strucuture Interview Questions](https://www.interviewbit.com/data-structure-interview-questions/) ### Step 3: System Design: 1. **Gathering Requirements** 2. **High Level Design** - [ ] :rocket:[Learn HLD concepts from here](https://www.youtube.com/playlist?list=PLMCXHnjXnTnvo6alSjVkgxV-VH6EPyvoX) 4. **Low Level Design** - [ ] :rocket:[Learn Low Level Design Patterns](https://github.com/sukanya-pai/design-patterns-for-humans) 5. **Concepts to be covered:** - [ ] Load Balancer - [ ] Messaging Queues - [ ] Cache - [ ] DataBase Sharding - [ ] Distributed Design 6. **Design the below:** - [ ] Stackoverflow - [ ] BookMyShow - [ ] Instagram - [ ] Netflix - [ ] Youtube - [ ] Swiggy - [ ] Flight Reservation System - [ ] Parking Lot System - [ ] Twitter - [ ] Paste Bin - [ ] Tiny Url - [ ] Whatsapp - [ ] Quora, Reddit - [ ] DropBox, Drive - [ ] Uber,Lyft - [ ] Search Engine Related (Type Aheads) :link:[System Design Github resource](https://github.com/donnemartin/system-design-primer) :link:[More Info on System Design](https://hackernoon.com/top-10-system-design-interview-questions-for-software-engineers-8561290f0444)

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password
    or
    Sign in via Facebook Sign in via X(Twitter) Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    By signing in, you agree to our terms of service.

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully