leetcode

command module
v0.0.0-...-74635b2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

README

leetcode

Some of my tasks

Task URL
1. Two Sum https://leetcode.com/problems/two-sum
2. Add Two Numbers https://leetcode.com/problems/add-two-numbers
3. Longest Substring Without Repeating Characters https://leetcode.com/problems/longest-substring-without-repeating-characters
4. Median of Two Sorted Arrays https://leetcode.com/problems/median-of-two-sorted-arrays
9. Palindrome Number https://leetcode.com/problems/palindrome-number
13. Roman to Integer https://leetcode.com/problems/roman-to-integer
14. Longest Common Prefix https://leetcode.com/problems/longest-common-prefix
20. Valid Parentheses https://leetcode.com/problems/valid-parentheses
21. Merge Two Sorted Lists https://leetcode.com/problems/merge-two-sorted-lists
23. Merge k Sorted Lists https://leetcode.com/problems/merge-k-sorted-lists
26. Remove Duplicates from Sorted Array https://leetcode.com/problems/remove-duplicates-from-sorted-array
27. Remove Element https://leetcode.com/problems/remove-element
28. Find the Index of the First Occurrence in a String https://leetcode.com/problems/find-the-index-of-the-first-occurrence-in-a-string
35. Search Insert Position https://leetcode.com/problems/search-insert-position
42. Trapping Rain Water https://leetcode.com/problems/trapping-rain-water
58. Length of Last Word https://leetcode.com/problems/length-of-last-word
66. Plus One https://leetcode.com/problems/plus-one
67. Add Binary https://leetcode.com/problems/add-binary
69. Sqrt(x) https://leetcode.com/problems/sqrtx
70. Climbing Stairs https://leetcode.com/problems/climbing-stairs
83. Remove Duplicates from Sorted List https://leetcode.com/problems/remove-duplicates-from-sorted-list
88. Merge Sorted Array https://leetcode.com/problems/merge-sorted-array
94. Binary Tree Inorder Traversal https://leetcode.com/problems/binary-tree-inorder-traversal
100. Same Tree https://leetcode.com/problems/same-tree
101. Symmetric Tree https://leetcode.com/problems/symmetric-tree
104. Maximum Depth of Binary Tree https://leetcode.com/problems/maximum-depth-of-binary-tree
108. Convert Sorted Array to Binary Search Tree https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
110. Balanced Binary Tree https://leetcode.com/problems/balanced-binary-tree
111. Minimum Depth of Binary Tree https://leetcode.com/problems/minimum-depth-of-binary-tree
112. Path Sum https://leetcode.com/problems/path-sum
118. Pascal's Triangle https://leetcode.com/problems/pascals-triangle
119. Pascal's Triangle II https://leetcode.com/problems/pascals-triangle-ii
121. Best Time to Buy and Sell Stock https://leetcode.com/problems/best-time-to-buy-and-sell-stock
125. Valid Palindrome https://leetcode.com/problems/valid-palindrome
136. Single Number https://leetcode.com/problems/single-number
141. Linked List Cycle https://leetcode.com/problems/linked-list-cycle
144. Binary Tree Preorder Traversal https://leetcode.com/problems/binary-tree-preorder-traversal
145. Binary Tree Postorder Traversal https://leetcode.com/problems/binary-tree-postorder-traversal
160. Intersection of Two Linked Lists https://leetcode.com/problems/intersection-of-two-linked-lists
168. Excel Sheet Column Title https://leetcode.com/problems/excel-sheet-column-title
169. Majority Element https://leetcode.com/problems/majority-element
171. Excel Sheet Column Number https://leetcode.com/problems/excel-sheet-column-number
175. Combine Two Tables https://leetcode.com/problems/combine-two-tables
176. Second Highest Salary https://leetcode.com/problems/second-highest-salary
177. Nth Highest Salary https://leetcode.com/problems/nth-highest-salary
180. Consecutive Numbers https://leetcode.com/problems/consecutive-numbers
181. Employees Earning More Than Their Managers https://leetcode.com/problems/employees-earning-more-than-their-managers
182. Duplicate Emails https://leetcode.com/problems/duplicate-emails
183. Customers Who Never Order https://leetcode.com/problems/customers-who-never-order
184. Department Highest Salary https://leetcode.com/problems/department-highest-salary
190. Reverse Bits https://leetcode.com/problems/reverse-bits
191. Number of 1 Bits https://leetcode.com/problems/number-of-1-bits
196. Delete Duplicate Emails https://leetcode.com/problems/delete-duplicate-emails
202. Happy Number https://leetcode.com/problems/happy-number
203. Remove Linked List Elements https://leetcode.com/problems/remove-linked-list-elements
205. Isomorphic Strings https://leetcode.com/problems/isomorphic-strings
206. Reverse Linked List https://leetcode.com/problems/reverse-linked-list
217. Contains Duplicate https://leetcode.com/problems/contains-duplicate
219. Contains Duplicate II https://leetcode.com/problems/contains-duplicate-ii
222. Count Complete Tree Nodes https://leetcode.com/problems/count-complete-tree-nodes
225. Implement Stack using Queues https://leetcode.com/problems/implement-stack-using-queues
226. Invert Binary Tree https://leetcode.com/problems/invert-binary-tree
228. Summary Ranges https://leetcode.com/problems/summary-ranges
231. Power of Two https://leetcode.com/problems/power-of-two
232. Implement Queue using Stacks https://leetcode.com/problems/implement-queue-using-stacks
234. Palindrome Linked List https://leetcode.com/problems/palindrome-linked-list
242. Valid Anagram https://leetcode.com/problems/valid-anagram
257. Binary Tree Paths https://leetcode.com/problems/binary-tree-paths
263. Ugly Number https://leetcode.com/problems/ugly-number
268. Missing Number https://leetcode.com/problems/missing-number
278. First Bad Version https://leetcode.com/problems/first-bad-version
283. Move Zeroes https://leetcode.com/problems/move-zeroes
290. Word Pattern https://leetcode.com/problems/word-pattern
292. Nim Game https://leetcode.com/problems/nim-game
303. Range Sum Query - Immutable https://leetcode.com/problems/range-sum-query-immutable
326. Power of Three https://leetcode.com/problems/power-of-three
338. Counting Bits https://leetcode.com/problems/counting-bits
342. Power of Four https://leetcode.com/problems/power-of-four
344. Reverse String https://leetcode.com/problems/reverse-string
345. Reverse Vowels of a String https://leetcode.com/problems/reverse-vowels-of-a-string
349. Intersection of Two Arrays https://leetcode.com/problems/intersection-of-two-arrays
350. Intersection of Two Arrays II https://leetcode.com/problems/intersection-of-two-arrays-ii
367. Valid Perfect Square https://leetcode.com/problems/valid-perfect-square
374. Guess Number Higher or Lower https://leetcode.com/problems/guess-number-higher-or-lower
383. Ransom Note https://leetcode.com/problems/ransom-note
387. First Unique Character in a String https://leetcode.com/problems/first-unique-character-in-a-string
389. Find the Difference https://leetcode.com/problems/find-the-difference
392. Is Subsequence https://leetcode.com/problems/is-subsequence
401. Binary Watch https://leetcode.com/problems/binary-watch
404. Sum of Left Leaves https://leetcode.com/problems/sum-of-left-leaves
405. Convert a Number to Hexadecimal https://leetcode.com/problems/convert-a-number-to-hexadecimal
407. Trapping Rain Water II https://leetcode.com/problems/trapping-rain-water-ii
409. Longest Palindrome https://leetcode.com/problems/longest-palindrome
412. Fizz Buzz https://leetcode.com/problems/fizz-buzz
414. Third Maximum Number https://leetcode.com/problems/third-maximum-number
415. Add Strings https://leetcode.com/problems/add-strings
434. Number of Segments in a String https://leetcode.com/problems/number-of-segments-in-a-string
441. Arranging Coins https://leetcode.com/problems/arranging-coins
448. Find All Numbers Disappeared in an Array https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
459. Repeated Substring Pattern https://leetcode.com/problems/repeated-substring-pattern
461. Hamming Distance https://leetcode.com/problems/hamming-distance
463. Island Perimeter https://leetcode.com/problems/island-perimeter
476. Number Complement https://leetcode.com/problems/number-complement
482. License Key Formatting https://leetcode.com/problems/license-key-formatting
485. Max Consecutive Ones https://leetcode.com/problems/max-consecutive-ones
492. Construct the Rectangle https://leetcode.com/problems/construct-the-rectangle
495. Teemo Attacking https://leetcode.com/problems/teemo-attacking
496. Next Greater Element I https://leetcode.com/problems/next-greater-element-i
500. Keyboard Row https://leetcode.com/problems/keyboard-row
501. Find Mode in Binary Search Tree https://leetcode.com/problems/find-mode-in-binary-search-tree
504. Base 7 https://leetcode.com/problems/base-7
506. Relative Ranks https://leetcode.com/problems/relative-ranks
507. Perfect Number https://leetcode.com/problems/perfect-number
520. Detect Capital https://leetcode.com/problems/detect-capital
530. Minimum Absolute Difference in BST https://leetcode.com/problems/minimum-absolute-difference-in-bst
541. Reverse String II https://leetcode.com/problems/reverse-string-ii
543. Diameter of Binary Tree https://leetcode.com/problems/diameter-of-binary-tree
551. Student Attendance Record I https://leetcode.com/problems/student-attendance-record-i
557. Reverse Words in a String III https://leetcode.com/problems/reverse-words-in-a-string-iii
561. Array Partition https://leetcode.com/problems/array-partition
563. Binary Tree Tilt https://leetcode.com/problems/binary-tree-tilt
566. Reshape the Matrix https://leetcode.com/problems/reshape-the-matrix
572. Subtree of Another Tree https://leetcode.com/problems/subtree-of-another-tree
575. Distribute Candies https://leetcode.com/problems/distribute-candies
594. Longest Harmonious Subsequence https://leetcode.com/problems/longest-harmonious-subsequence
598. Range Addition II https://leetcode.com/problems/range-addition-ii
599. Minimum Index Sum of Two Lists https://leetcode.com/problems/minimum-index-sum-of-two-lists
605. Can Place Flowers https://leetcode.com/problems/can-place-flowers
606. Construct String from Binary Tree https://leetcode.com/problems/construct-string-from-binary-tree
617. Merge Two Binary Trees https://leetcode.com/problems/merge-two-binary-trees
628. Maximum Product of Three Numbers https://leetcode.com/problems/maximum-product-of-three-numbers
637. Average of Levels in Binary Tree https://leetcode.com/problems/average-of-levels-in-binary-tree
643. Maximum Average Subarray I https://leetcode.com/problems/maximum-average-subarray-i
645. Set Mismatch https://leetcode.com/problems/set-mismatch
653. Two Sum IV - Input is a BST https://leetcode.com/problems/two-sum-iv-input-is-a-bst
657. Robot Return to Origin https://leetcode.com/problems/robot-return-to-origin
661. Image Smoother https://leetcode.com/problems/image-smoother
671. Second Minimum Node In a Binary Tree https://leetcode.com/problems/second-minimum-node-in-a-binary-tree
674. Longest Continuous Increasing Subsequence https://leetcode.com/problems/longest-continuous-increasing-subsequence
680. Valid Palindrome II https://leetcode.com/problems/valid-palindrome-ii
682. Baseball Game https://leetcode.com/problems/baseball-game
693. Binary Number with Alternating Bits https://leetcode.com/problems/binary-number-with-alternating-bits
1114. Print in Order https://leetcode.com/problems/print-in-orde
1115. Print FooBar Alternately https://leetcode.com/problems/print-foobar-alternately
1622. Fancy Sequence https://leetcode.com/problems/fancy-sequence

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
9

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL