/leetcode-kotlin

LeetCode Algorithm Practice

Primary LanguageKotlin

leetcode-kotlin

LeetCode Algorithm Practice

Problem Solved

Total
87
Easy Medium Hard
32 54 1
# Problem(Solution) LeetCode Link Difficulty Accepted Rate
1 Two Sum 1. Two Sum Easy 48.6%
2 Add Two Numbers 2. Add Two Numbers Medium 38.6%
3 Longest Substring Without Repeating Characters 3. Longest Substring Without Repeating Characters Medium 33.0%
11 Container With Most Water 11. Container With Most Water Medium 53.9%
13 Roman to Integer 13. Roman to Integer Easy 57.9%
15 3Sum 15. 3Sum Medium 31.1%
17 Letter Combinations of a Phone Number 17. Letter Combinations of a Phone Number Medium 54.0%
19 Remove Nth Node From End of List 19. Remove Nth Node From End of List Medium 38.3%
21 Merge Two Sorted Lists 21. Merge Two Sorted Lists Easy 60.3%
22 Generate Parentheses 22. Generate Parentheses Medium 70.2%
33 Search in Rotated Sorted Array 33. Search in Rotated Sorted Array Medium 37.8%
34 Find First and Last Position of Element in Sorted Array 34. Find First and Last Position of Element in Sorted Array Medium 40.0%
35 Search Insert Position 35. Search Insert Position Easy 42.3%
39 Combination Sum 39. Combination Sum Medium 65.6%
40 Combination Sum II 40. Combination Sum II Medium 52.4%
46 Permutations 46. Permutations Medium 72.3%
47 Permutations II 47. Permutations II Medium 55.3%
53 Maximum Subarray 53. Maximum Subarray Easy 49.5%
70 Climbing Stairs 70. Climbing Stairs Easy 51.0%
74 Search a 2D Matrix 74. Search a 2D Matrix Medium 44.4%
77 Combinations 77. Combinations Medium 63.9%
78 Subsets 78. Subsets Medium 71.6%
79 Word Search 79. Word Search Medium 39.7%
82 Remove Duplicates from Sorted List II 82. Remove Duplicates from Sorted List II Medium 44.3%
90 Subsets II 90. Subsets II Medium 53.4%
116 Populating Next Right Pointers in Each Node 116. Populating Next Right Pointers in Each Node Medium 57.0%
117 Populating Next Right Pointers in Each Node II 117. Populating Next Right Pointers in Each Node II Medium 46.7%
120 Triangle 120. Triangle Medium 50.8%
130 Surrounded Regions 130. Surrounded Regions Medium 34.1%
136 Single Number 136. Single Number Easy 69.4%
153 Find Minimum in Rotated Sorted Array 153. Find Minimum in Rotated Sorted Array Medium 47.9%
162 Find Peak Element 162. Find Peak Element Medium 46.0%
167 Two Sum II - Input Array Is Sorted 167. Two Sum II - Input Array Is Sorted Medium 58.7%
189 Rotate Array 189. Rotate Array Medium 38.6%
190 Reverse Bits 190. Reverse Bits Easy 48.9%
191 Number of 1 Bits 191. Number of 1 Bits Easy 60.5%
198 House Robber 198. House Robber Medium 47.2%
200 Number of Islands 200. Number of Islands Medium 54.0%
206 Reverse Linked List 206. Reverse Linked List Easy 70.3%
209 Minimum Size Subarray Sum 209. Minimum Size Subarray Sum Medium 43.4%
216 Combination Sum III 216. Combination Sum III Medium 65.9%
217 Contains Duplicate 217. Contains Duplicate Easy 60.8%
225 Implement Stack using Queues 225. Implement Stack using Queues Easy 55.1%
231 Power of Two 231. Power of Two Easy 45.0%
234 Palindrome Linked List 234. Palindrome Linked List Easy 46.6%
268 Missing Number 268. Missing Number Easy 60.4%
278 First Bad Version 278. First Bad Version Easy 41.7%
283 Move Zeroes 283. Move Zeroes Easy 60.6%
318 Maximum Product of Word Lengths 318. Maximum Product of Word Lengths Medium 59.4%
322 Coin Change 322. Coin Change Medium 40.4%
341 Flatten Nested List Iterator 341. Flatten Nested List Iterator Medium 59.9%
344 Reverse String 344. Reverse String Easy 74.9%
354 Russian Doll Envelopes 354. Russian Doll Envelopes Hard 38.7%
383 Ransom Note 383. Ransom Note Easy 55.8%
412 Fizz Buzz 412. Fizz Buzz Easy 66.7%
438 Find All Anagrams in a String 438. Find All Anagrams in a String Medium 48.3%
474 Ones and Zeroes 474. Ones and Zeroes Medium 45.6%
542 01 Matrix 542. 01 Matrix Medium 43.8%
547 Number of Provinces 547. Number of Provinces Medium 62.6%
557 Reverse Words in a String III 557. Reverse Words in a String III Easy 78.7%
567 Permutation in String 567. Permutation in String Medium 44.7%
572 Subtree of Another Tree 572. Subtree of Another Tree Easy 45.4%
581 Shortest Unsorted Continuous Subarray 581. Shortest Unsorted Continuous Subarray Medium 35.4%
617 Merge Two Binary Trees 617. Merge Two Binary Trees Easy 77.9%
647 Palindromic Substrings 647. Palindromic Substrings Medium 65.3%
695 Max Area of Island 695. Max Area of Island Medium 69.7%
704 Binary Search 704. Binary Search Easy 55.3%
713 Subarray Product Less Than K 713. Subarray Product Less Than K Medium 43.8%
733 Flood Fill 733. Flood Fill Easy 58.2%
743 Network Delay Time 743. Network Delay Time Medium 50.1%
784 Letter Case Permutation 784. Letter Case Permutation Medium 72.4%
797 All Paths From Source to Target 797. All Paths From Source to Target Medium 80.9%
844 Backspace String Compare 844. Backspace String Compare Easy 48.0%
876 Middle of the Linked List 876. Middle of the Linked List Easy 72.6%
905 Sort Array By Parity 905. Sort Array By Parity Easy 75.7%
977 Squares of a Sorted Array 977. Squares of a Sorted Array Easy 71.6%
986 Interval List Intersections 986. Interval List Intersections Medium 71.1%
994 Rotting Oranges 994. Rotting Oranges Medium 51.7%
1091 Shortest Path in Binary Matrix 1091. Shortest Path in Binary Matrix Medium 42.7%
1209 Remove All Adjacent Duplicates in String II 1209. Remove All Adjacent Duplicates in String II Medium 56.2%
1302 Deepest Leaves Sum 1302. Deepest Leaves Sum Medium 87.1%
1337 The K Weakest Rows in a Matrix 1337. The K Weakest Rows in a Matrix Easy 74.3%
1342 Number of Steps to Reduce a Number to Zero 1342. Number of Steps to Reduce a Number to Zero Easy 85.6%
1379 Find a Corresponding Node of a Binary Tree in a Clone of That Tree 1379. Find a Corresponding Node of a Binary Tree in a Clone of That Tree Medium 87.2%
1641 Count Sorted Vowel Strings 1641. Count Sorted Vowel Strings Medium 76.6%
1672 Richest Customer Wealth 1672. Richest Customer Wealth Easy 89.2%
1679 Max Number of K-Sum Pairs 1679. Max Number of K-Sum Pairs Medium 57.7%