Skip to content

ashishdotme/leetcode-flashcards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drawing

leetcode-flashcards

📦 a set of flashcards for most common leetcode questions asked in interviews

drawing

Flashcards

All flashcards grouped by topic can be found on: https://lc.ashish.me. If you think the flashcards could be improved - please feel free to raise a pull request.

Leetcode questions list

Patterns

  • Sliding Window
    • input - linked list, array, string
    • questions type - longest/shortest substring, subarray
  • Dynamic Programming
    • questions type - maximum/minimum subarray/array/subset
  • Two Pointers
    • input - sorted array or linked list
    • questions type - find pair, tripler or subarray
  • Fast and slow pointers
    • input - linked list or array
    • questions type - length of linked list, position of element
  • Merge Intervals
    • questions type - overlapping intervals, mutually exclusive intervals, maximum cpu load
  • Cyclic sort
    • input - sorted array
    • questions type - missing/duplicate/smallest number in sorted array
  • Inplace reversal of linked list
    • questions type - reverse linked list without extra memory, reverse sublist, reverse every k-element sub-list
  • BFS
    • questions type - traverse tree level by level, zig zag traversal
  • DFS
    • questions type - traverse inorder, preorder, postorder or searching node closer to leaf
  • Two heaps
    • questions type - smallest/largest elements of set, scheduling, priority queue
  • Backtracking
    • questions type - permutations

References

Support

If you find this project useful, you can buy me a cup of coffee

Become a Patreon

Licence

leetcode-flashcards is open source and released under the MIT Licence.

To connect with me

About

a set of flashcards for most common leetcode questions asked in interviews

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published