Skip to content

pintub/dataStructure-algo

Repository files navigation

How to Run code
  • cd Practice > mvn clean install > Mark /java as Source Root
  • cd LeetCode > ./gradlew.bat > Mark /java as Source Root
Executable command Example
ls
Data Structure & Algorithm Order
What Next
  • Exceptional Ques
  • Tricks & Tips
  • Leetcode 150 Ques
    
    189. Rotate Array
    238. Product of Array Except Self
    135. Candy
    26. Remove Duplicates from Sorted Array
    68. Text Justification
    128. Longest Consecutive Sequence
    224. Basic Calculator
    86. Partition List
    138. Copy List with Random Pointer
    173. Binary Search Tree Iterator
    236. Lowest Common Ancestor of a Binary Tree
    130. Surrounded Regions
    909. Snakes and Ladders
    52. N-Queens II
    149. Max Points on a Line
    74. Search a 2D Matrix
    44. Wildcard Matching
    2038. Remove Colored Pieces if Both Neighbors are the Same Color
    739. Daily Temperatures
    91. Decode Ways
    271 - Encode and Decode Strings
    74. Search a 2D Matrix
    84. Largest Rectangle in Histogram
    
    Little Tricky                 >>>
    205 Isomorphic Strings
    219. Contains Duplicate II
    2. Add Two Numbers
    289. Game of Life
Revision Time

Depends on when you last revised, keep within 3/4 hours

Delivery Framework
    [Keep introduction shorter, save time]
    [Ask how many questions will be asked up-front]
    Ask Corner cases
    If input is Array, Check if contains dup or -ve num

    Scribble Algo/Recursion equation in paper
    Scribble if any complex Math formulae

    [If Stuck, Ask for hint smartly/indirectly. Are you looking for n/2 solution]

    Explain Pseudo code to interviewer
    Tell Time/Space complexity

    Scan Answer & Edge Cases

About

DS , Leetcode problems

Resources

Stars

Watchers

Forks

Languages