Tag: LeetCode
LeetCode: Asteroid Collision
2 Dec 2025
Determine the state of asteroids after all possible collisions.
LeetCode: Removing Stars From a String
1 Dec 2025
Remove stars from a string using a stack approach.
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: 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: 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: 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: Longest Common Prefix
22 Nov 2025
Return the longest common prefix of an array of strings.
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: Maximum Average Subarray I
20 Nov 2025
Find the contiguous subarray of given length that has the maximum average value.
LeetCode: Is Subsequence
19 Nov 2025
Given two strings, determine if one is a subsequence of the other
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: Longest Substring Without Repeating Characters
16 Nov 2025
Find the length of the longest substring without repeating characters.