〈 LeetCode - Analytics

Nov 17, 2025 • ✎ edit

Here are a collection of LeetCode problems around data analytics.

How to Use

Instructions for decorating leetcode lists with logged-in user data.

Install this user script to enhance the lists below: blog.leetcode.user.js

The user script will request access to a LeetCode URL to fetch your logged-in user’s problem data.

LeetCode Problem Data: https://leetcode.com/api/problems/algorithms/

To generate more lists of problem slugs, use this JavaScript query in your browser’s developer console from any page containing links to LeetCode problems:

[...document.querySelectorAll('a')]
    .map(       li => li.href.match(/\/problems\/([^\/]+)\//))
    .filter(    match => match)
    .map(       match => match[1])

More user scripts at: UserScripts

Introduction to Pandas

30 Days of Pandas

Data Filtering

String Methods

Strengthen Your Learning by Solving this Question

Data Manipulation

Statistics

Strengthen Your Learning by Solving this Question

Data Aggregation

Data Integration

Strengthen Your Learning by Solving this Question

Leave a Comment!