leetcode icon indicating copy to clipboard operation
leetcode copied to clipboard

Leetcode solutions

Results 602 leetcode issues
Sort by recently updated
recently updated
newest added

Bug Report for https://neetcode.io/problems/add-two-numbers Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.

Bug Report for https://neetcode.io/problems/counting-bits It's more of a question. For a solution like this: `public class Solution { public int[] countBits(int n) { int[] res = new int[n + 1];...

Bug Report for https://neetcode.io/problems/combination-sum-iv Please describe the bug below and include any steps to reproduce the bug or screenshots if possible. One of the constraints mentioned for this problem is,...

I spent a lot of time trying to figure out why I was getting "root is not a function" while trying to use the `MinPriorityQueue` in javascript, because looking at...

Bug Report for https://neetcode.io/problems/top-k-elements-in-list Please describe the bug below and include any steps to reproduce the bug or screenshots if possible. My solution should be ok but i get that...

Bug Report for https://neetcode.io/problems/lru-cache Please describe the bug below and include any steps to reproduce the bug or screenshots if possible. Explanation: LRUCache lRUCache = new LRUCache(2); lRUCache.put(1, 10); //...

Bug Report for https://neetcode.io/problems/kth-largest-integer-in-a-stream Please describe the bug below and include any steps to reproduce the bug or screenshots if possible. Test Case 2 expected output is incorrect. The last...

Bug Report for https://neetcode.io/problems/top-k-elements-in-list Please describe the bug below and include any steps to reproduce the bug or screenshots if possible. I think my solution is correct but program is...

Bug Report for https://neetcode.io/problems/remove-duplicates-from-sorted-array Please describe the bug below and include any steps to reproduce the bug or screenshots if possible. My golang solution is an exact match for the...

Bug Report for https://neetcode.io/problems/sql-aggregation-having Please describe the bug below and include any steps to reproduce the bug or screenshots if possible. Current: The HAVING clause is used to filter the...