By Sang-Kil Park, The Author of <파이썬 알고리즘 인터뷰>
| Title | Solution |
|---|---|
| 1. Two Sum | Python, Go |
| 14. Longest Common Prefix | C++, Java, Python, Go |
| 62. Unique Paths | Kotlin |
| 101. Symmetric Tree | C++, Python |
| 125. Valid Palindrome | C, Python |
| 141. Linked List Cycle | Go |
| 169. Majority Element | C++ |
| 234. Palindrome Linked List | Go |
| 200. Number Of Islands | Python |
| 207. Course Schedule | Python |
| 310. Minimum Height Trees | Python |
| 332. Reconstruct Itinerary | Python |
| 334. Increasing Triplet Subsequence | C++ |
| 387. First Unique Character in a String | Go |
| 399. Evaluate Division | Python |
| 436. Find Right Interval | Python |
| 482. License Key Formatting | Java |
| 590. N-ary Tree Postorder Traversal | Python |
| 684. Redundant Connection | Python |
| 704. Binary Search | Python, Kotlin |
| 792. Number of Matching Subsequences | Python |
| 819. Most Common Word | C++ |
| 897. Increasing Order Search Tree | Python |
| 905. Sort Array By Parity | Go |
| 938. Range Sum of BST | Go |
| 994. Rotting Oranges | C++ |
| 1021. Remove Outermost Parentheses | Go |
| 1128. Number of Equivalent Domino Pairs | Python |
| 1295. Find Numbers with Even Number of Digits | TypeScript |
| 1302. Deepest Leaves Sum | Kotlin |
| 1346. Check If N and Its Double Exist | TypeScript |
| 1431. Kids With the Greatest Number of Candies | Go |
| 1513. Number of Substrings With Only 1s | Python, Go |
| 1614. Maximum Nesting Depth of the Parentheses | Kotlin |
| 1716. Calculate Money in Leetcode Bank | TypeScript |
| 1805. Number of Different Integers in a String | TypeScript |
| 1903. Largest Odd Number in String | Go, Kotlin |
- C99
- C++17
$ mkdir bld
$ cd bld
$ cmake ..
$ make
$ ./testcase
- Java SE 11
$ gradle test
- Python 3.7
$ python test_leetcode.py
- Go 1.16
$ go test
// If you use GoLand, Select a Test kind 'Directory' to run the Test properly.
- TypeScript 4.2
$ deno run test_leetcode.ts
- Kotlin 1.5.20
// Using IntelliJ Kotlin Worksheet
$ gradle test