Tag: LeetCode

LeetCode Logo
LeetCode: Reverse Linked List
6 Dec 2025

Reverse a singly linked list.

LeetCode Logo
LeetCode: Asteroid Collision
2 Dec 2025

Determine the state of asteroids after all possible collisions.

LeetCode Logo
LeetCode: Removing Stars From a String
1 Dec 2025

Remove stars from a string using a stack approach.

LeetCode Logo
LeetCode: Equal Row and Column Pairs
28 Nov 2025

Find the number of equal row and column pairs in a square matrix using Python.

LeetCode Logo
LeetCode: Find Pivot Index
26 Nov 2025

Find the pivot index in an array where the sum of the numbers to the left is equal to the sum of the numbers to the right.

LeetCode Logo
LeetCode: Can Place Flowers
25 Nov 2025

Determine if a certain number of flowers can be planted in a flowerbed without violating the no-adjacent-flowers rule.

LeetCode Logo
LeetCode: Kids With the Greatest Number of Candies
24 Nov 2025

Determine which kids can have the greatest number of candies after receiving extra candies.

LeetCode Logo
LeetCode: Add Two Numbers
23 Nov 2025

Add two numbers represented by linked lists.

LeetCode Logo
LeetCode: Longest Common Prefix
22 Nov 2025

Return the longest common prefix of an array of strings.

LeetCode Logo
LeetCode: Maximum Number of Operations to Move Ones to the End
21 Nov 2025

Return the maximum number of operations to move ones to the end of a binary string.

LeetCode Logo
LeetCode: Maximum Average Subarray I
20 Nov 2025

Find the contiguous subarray of given length that has the maximum average value.

LeetCode Logo
LeetCode: Is Subsequence
19 Nov 2025

Given two strings, determine if one is a subsequence of the other

LeetCode Logo
LeetCode: Max Number of K-Sum Pairs
18 Nov 2025

Find the maximum number of k-sum pairs in an array.

LeetCode Logo
LeetCode: Move Zeroes
17 Nov 2025

Move all zeroes in an array to the end while maintaining the relative order of non-zero elements.

LeetCode Logo
LeetCode: Longest Substring Without Repeating Characters
16 Nov 2025

Find the length of the longest substring without repeating characters.

LeetCode Logo
LeetCode: Palindrome Number
15 Nov 2025

Return true if an integer is a palindrome.

LeetCode Logo
LeetCode: Roman to Integer
14 Nov 2025

Convert a Roman numeral to an integer.