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

Actually, in this problem we can simplify the logic: 1. if `mid` value < `hi` value -> search to the left **inclusive** mid. Because we don't need to look at...

[//]: # "Pull Request Template" [//]: # "Replace the placeholder values in the template below" - **File(s) Modified**: _0518-coin-change-ii.rs_ - **Language(s) Used**: _Rust_ - **Submission URL**: _https://leetcode.com/problems/coin-change-ii/submissions/916968244/_ [//]: # "Getting...

[//]: # "Pull Request Template" [//]: # "Replace the placeholder values in the template below" - **File(s) Modified**: _0303-range-sum-query-immutable.rs_ - **Language(s) Used**: _Rust_ - **Submission URL**: _https://leetcode.com/problems/range-sum-query-immutable/submissions/916946186/_ [//]: # "Getting...

[//]: # "Pull Request Template" [//]: # "Replace the placeholder values in the template below" - **File(s) Modified**: _0912-sort-an-array.rs_ - **Language(s) Used**: _rust_ - **Submission URL**: _https://leetcode.com/problems/sort-an-array/submissions/916896645/_ [//]: # "Getting...

- **File(s) Modified**: 0958-check-completeness-of-a-binary-tree.go - **Language(s) Used**: Go - **Submission URL**: https://leetcode.com/problems/check-completeness-of-a-binary-tree/submissions/915440680/

- **File(s) Modified**: 0129-sum-root-to-leaf-numbers.go - **Language(s) Used**: Go - **Submission URL**: https://leetcode.com/problems/sum-root-to-leaf-numbers/submissions/915295475/

C plus plus solution base on the python [//]: # "Pull Request Template" [//]: # "Replace the placeholder values in the template below" - **File(s) Modified**: _0001-two-sum.py, 0002-add-two-numbers.py, etc..._ -...

[//]: # "Pull Request Template" [//]: # "Replace the placeholder values in the template below" - **File(s) Modified**: 739-daily-temperatures.js - **Language(s) Used**: javascript - **Submission URL**: https://leetcode.com/problems/daily-temperatures/submissions/911085363/ ### Important Please...

OS : android 12 Browser : Crome (latest) issue : when I try to sign in with github , a browser window pops up, while signin option closed. once I...

[//]: # "Pull Request Template" [//]: # "Replace the placeholder values in the template below" - **File(s) Added**: _1700-number-of-students-unable-to-eat-lunch.rs_ - **Language(s) Used**: _rust_ - **Submission URL**: _https://leetcode.com/problems/number-of-students-unable-to-eat-lunch/submissions/914779116/_ [//]: # "Getting...