/leetcode-ts-solutions

My Typescript Solutions of Leetcode Problems

Primary LanguageTypeScriptMIT LicenseMIT

My Typescript Solutions of Leetcode Problems

AI Usage Policy

AI was not utilized in any capacity for problem-solving—neither in hint mode nor for code generation. All problem-solving functions are entirely my own code. However, AI was employed for secondary tasks, such as generating unit tests and writing comments for each function.

Runtime metrics of functions

Problem Runtime Beats
20. Valid Parentheses 0ms 100%
21. Merge Two Sorted Lists 1ms 52%
26. Remove Duplicates from Sorted Array 0ms 100%
27. Remove Element 0ms 100%
28. Find the Index of the First Occurrence in a String 0ms 100%
35. Search Insert Position 0ms 100%
58. Length of Last Word 0ms 100%
66. Plus One 0ms 100%
67. Add Binary 0ms 100%
69. Sqrt(x) 0ms 100%
70. Climbing Stairs 0ms 100%

Formatted with Biome Linted with Biome Checked with Biome