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

Web Vitals: A Practical Guide for Modern Web Applications

What Are Web Vitals?

Web Vitals are performance metrics defined by Google to measure real user experience—not just raw speed, but how smooth, responsive, and stable your UI feels to actual users.

image

They quantify:

  • Loading performance — How fast content appears
@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 November 19, 2025 09:36
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 December 9, 2025 19:42
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

Interview Questions

Node.js

Q1: What do you mean by Asynchronous API? ☆☆

Answer: All APIs of Node.js library are aynchronous that is non-blocking. It essentially means a Node.js based server never waits for a API to return data. Server moves to next API after calling it and a notification mechanism of Events of Node.js helps server to get response from the previous API call.

Source: tutorialspoint.com