Skip to content

Instantly share code, notes, and snippets.

View carefree-ladka's full-sized avatar
🏠
Working from home

Pawan Kumar carefree-ladka

🏠
Working from home
View GitHub Profile
@carefree-ladka
carefree-ladka / MinMaxPriorityQueue.js
Last active December 1, 2024 11:27
MinMaxPriorityQueue
class MinMaxPriorityQueue {
#heap = []
#compare;
constructor(compare = (a, b) => a - b) {
this.#compare = compare; // Default to Min-Heap if no compare function is provided
}
// Add a new element to the priority queue
@underscoDe
underscoDe / LeetcodeBlind75.md
Last active May 21, 2025 01:38
Customized LeetCode study plans. Grind all 169 questions. This is a gist to help you track your progress.

Grind 169 Leetcode questions

An updated version of Blind 75

Filters:

  • View All Questions
  • Order by Difficulty
  • Group by Topics

Array

@tykurtz
tykurtz / grokking_to_leetcode.md
Last active May 25, 2025 02:13
Grokking the coding interview equivalent leetcode problems

GROKKING NOTES

I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.

So below I made a list of leetcode problems that are as close to grokking problems as possible.

Pattern: Sliding Window