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

[//]: # "Pull Request Template" [//]: # "Replace the placeholder values in the template below" - **File(s) Modified**: _0096-unique-binary-search-trees.java_ - **Language(s) Used**: _Java_ - **Submission URL**: _https://leetcode.com/problems/unique-binary-search-trees/submissions/954914504/_ [//]: # "Getting...

[//]: # "Pull Request Template" [//]: # "Replace the placeholder values in the template below" - **File(s) Modified**: _0701-insert-into-a-binary-search-tree.java_ - **Language(s) Used**: _Java_ - **Submission URL**: _https://leetcode.com/problems/insert-into-a-binary-search-tree/submissions/954893952/_ [//]: # "Getting...

- **File(s) Modified**: 0572-subtree-of-another-tree.js - **Language(s) Used**: javascript - **Submission URL**: https://leetcode.com/problems/subtree-of-another-tree/submissions/954702859/

[//]: # "Pull Request Template" [//]: # "Replace the placeholder values in the template below" - **File(s) Modified**: _1882-process-tasks-using-servers.java_ - **Language(s) Used**: _Java_ - **Submission URL**: _https://leetcode.com/problems/process-tasks-using-servers/submissions/954222134/_ [//]: # "Getting...

[//]: # "Pull Request Template" [//]: # "Replace the placeholder values in the template below" - **File(s) Modified**: _0450-delete-node-in-a-bst.java_ - **Language(s) Used**: _Java_ - **Submission URL**: _https://leetcode.com/problems/delete-node-in-a-bst/submissions/954179452/_ [//]: # "Getting...

[//]: # "Pull Request Template" [//]: # "Replace the placeholder values in the template below" - **File(s) Modified**: 0226-invert-binary-tree.rs - **Language(s) Used**: rust - **Submission URL**: https://leetcode.com/problems/invert-binary-tree/solutions/3545546/rust/ [//]: # "Getting...

Removing the else clause. Looks more concise [//]: # "Pull Request Template" [//]: # "Replace the placeholder values in the template below" - **File(s) Modified**: _0001-two-sum.py, 0002-add-two-numbers.py, etc..._ - **Language(s)...

Java solution on 703 problem is not passing on leetcode due to absent while loop that remove exceeding k elements on constructor.

[//]: # "Pull Request Template" [//]: # "Replace the placeholder values in the template below" https://leetcode.com/problems/concatenation-of-array/description/ - **File(s) Modified**: _1929-concatenation-of-array.cs_ - **Language(s) Used**: _csharp_ - **Submission URL**: _https://leetcode.com/problems/concatenation-of-array/solutions/3537346/simple-c-solution/_ [//]: #...

[//]: # "Pull Request Template" [//]: # "Replace the placeholder values in the template below" - **File(s) Modified**: _0256-paint-house.ts_ - **Language(s) Used**: _typescript_ - **Submission URL**: _https://leetcode.com/problems/paint-house/submissions/951869658/_ [//]: # "Getting...