ashishdotme / code.ashish.me

πŸŽ“ coding exercises from leetcode, hackerrank, codesignal etc.

Home Page:https://code.ashish.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

drawing

code.ashish.me

πŸŽ“ coding exercises from leetcode, hackerrank, codesignal etc.

screenshot

https://code.ashish.me

Stats

428 questions solved so far.

Sources

Notes

  • 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

Index

About

πŸŽ“ coding exercises from leetcode, hackerrank, codesignal etc.

https://code.ashish.me


Languages

Language:JavaScript 76.1%Language:Java 15.7%Language:HTML 5.8%Language:Python 1.5%Language:CSS 0.8%