Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ngkhang/leetcode-solutions
My collection of solutions to algorithmic problems in LeetCode is written in JavaScript.
https://github.com/ngkhang/leetcode-solutions
dsa-practice javascript leetcode-solutions
Last synced: 4 days ago
JSON representation
My collection of solutions to algorithmic problems in LeetCode is written in JavaScript.
- Host: GitHub
- URL: https://github.com/ngkhang/leetcode-solutions
- Owner: ngkhang
- Created: 2023-03-02T07:49:57.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-04T04:56:14.000Z (7 months ago)
- Last Synced: 2024-11-20T06:15:05.941Z (2 months ago)
- Topics: dsa-practice, javascript, leetcode-solutions
- Language: JavaScript
- Homepage:
- Size: 266 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LeetCode Solutions
- Currently, I solved 183 problems, which are written in **JavaScript**, and **SQL**
- Easy: 161
- Medium: 19
- Hard:
- This is [my profie in LeetCode](https://leetcode.com/ngkhang/), I will upload solutions for some problems regularly.
Table of Contents:
- [LeetCode Solutions](#leetcode-solutions)
- [All Topics](#all-topics)
- [Resources](#resources)
---
## All Topics
| Title | Solution | Difficulty |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- | ---------- |
| [1. Two Sum](https://leetcode.com/problems/two-sum/) | [Show](Solutions/01-99/problem-01.js) | ⭐ |
| [2. Add Two Numbers](https://leetcode.com/problems/add-two-numbers/) | [Show](Solutions/01-99/problem-02.js) | ⭐⭐ |
| [7. Reverse Integer](https://leetcode.com/problems/reverse-integer/) | [Show](Solutions/01-99/problem-07.js) | ⭐⭐ |
| [9. Palindrome Number](https://leetcode.com/problems/palindrome-number/) | [Show](Solutions/01-99/problem-09.js) | ⭐ |
| [13. Roman to Integer](https://leetcode.com/problems/roman-to-integer/) | [Show](Solutions/01-99/problem-13.js) | ⭐ |
| [14. Longest Common Prefix](https://leetcode.com/problems/longest-common-prefix/) | [Show](Solutions/01-99/problem-14.js) | ⭐ |
| [19. Remove Nth Node From End of List](https://leetcode.com/problems/remove-nth-node-from-end-of-list/) | [Show](Solutions/01-99/problem-19.js) | ⭐⭐ |
| [20. Valid Parentheses](https://leetcode.com/problems/valid-parentheses/) | Attempted | ⭐ |
| [21. Merge Two Sorted Lists](https://leetcode.com/problems/merge-two-sorted-lists/) | [Show](Solutions/01-99/problem-21.js) | ⭐ |
| [26. Remove Duplicates from Sorted Array](https://leetcode.com/problems/remove-duplicates-from-sorted-array/) | [Show](Solutions/01-99/problem-26.js) | ⭐ |
| [27. Remove Element](https://leetcode.com/problems/remove-element/) | [Show](Solutions/01-99/problem-27.js) | ⭐ |
| [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/) | [Show](Solutions/01-99/problem-28.js) | ⭐ |
| [35. Search Insert Position](https://leetcode.com/problems/search-insert-position/) | [Show](Solutions/01-99/problem-35.js) | ⭐ |
| [58. Length of Last Word](https://leetcode.com/problems/length-of-last-word/) | [Show](Solutions/01-99/problem-58.js) | ⭐ |
| [66. Plus One](https://leetcode.com/problems/plus-one/) | [Show](Solutions/01-99/problem-66.js) | ⭐ |
| [67. Add Binary](https://leetcode.com/problems/add-binary/) | [Show](Solutions/01-99/problem-67.js) | ⭐ |
| [69. Sqrt(x)](https://leetcode.com/problems/sqrtx/) | [Show](Solutions/01-99/problem-69.js) | ⭐ |
| [70. Climbing Stairs](https://leetcode.com/problems/climbing-stairs/) | [Show](Solutions/01-99/problem-70.js) | ⭐ |
| [75. Sort Colors](https://leetcode.com/problems/sort-colors/) | [Show](Solutions/01-99/problem-75.js) | ⭐⭐ |
| [83. Remove Duplicates from Sorted List](https://leetcode.com/problems/remove-duplicates-from-sorted-list/) | [Show](Solutions/01-99/problem-83.js) | ⭐ |
| [88. Merge Sorted Array](https://leetcode.com/problems/merge-sorted-array/) | [Show](Solutions/01-99/problem-88.js) | ⭐ |
| [121. Best Time to Buy and Sell Stock](https://leetcode.com/problems/best-time-to-buy-and-sell-stock/) | [Show](Solutions/100-999/problem-121.js) | ⭐ |
| [125. Valid Palindrome](https://leetcode.com/problems/valid-palindrome/) | [Show](Solutions/100-999/problem-125.js) | ⭐ |
| [136. Single Number](https://leetcode.com/problems/single-number/) | [Show](Solutions/100-999/problem-136.js) | ⭐ |
| [141. Linked List Cycle](https://leetcode.com/problems/linked-list-cycle/) | [Show](Solutions/100-999/problem-141.js) | ⭐ |
| [143. Reorder List](https://leetcode.com/problems/reorder-list/) | [Show](Solutions/100-999/problem-143.js) | ⭐⭐ |
| [148. Sort List](https://leetcode.com/problems/sort-list/) | [Show](Solutions/100-999/problem-148.js) | ⭐⭐ |
| [160. Intersection of Two Linked Lists](https://leetcode.com/problems/intersection-of-two-linked-lists/) | [Show](Solutions/100-999/problem-160.js) | ⭐ |
| [169. Majority Element](https://leetcode.com/problems/majority-element/) | [Show](Solutions/100-999/problem-169.js) | ⭐ |
| [171. Excel Sheet Column Number](https://leetcode.com/problems/excel-sheet-column-number/) | [Show](Solutions/100-999/problem-171.js) | ⭐ |
| [189. Rotate Array](https://leetcode.com/problems/rotate-array/) | [Show](Solutions/100-999/problem-189.js) | ⭐⭐ |
| [191. Number of 1 Bits](https://leetcode.com/problems/number-of-1-bits/) | [Show](Solutions/100-999/problem-191.js) | ⭐ |
| [202. Happy Number](https://leetcode.com/problems/happy-number/) | [Show](Solutions/100-999/problem-202.js) | ⭐ |
| [203. Remove Linked List Elements](https://leetcode.com/problems/remove-linked-list-elements/) | [Show](Solutions/100-999/problem-203.js) | ⭐ |
| [206. Reverse Linked List](https://leetcode.com/problems/reverse-linked-list/) | [Show](Solutions/100-999/problem-206.js) | ⭐ |
| [217. Contains Duplicate](https://leetcode.com/problems/contains-duplicate/) | [Show](Solutions/100-999/problem-217.js) | ⭐ |
| [225. Implement Stack using Queues](https://leetcode.com/problems/implement-stack-using-queues/) | [Show](Solutions/100-999/problem-225.js) | ⭐ |
| [228. Summary Ranges](https://leetcode.com/problems/summary-ranges/) | [Show](Solutions/100-999/problem-228.js) | ⭐ |
| [231. Power of Two](https://leetcode.com/problems/power-of-two/) | [Show](Solutions/100-999/problem-231.js) | ⭐ |
| [232. Implement Queue using Stacks](https://leetcode.com/problems/implement-queue-using-stacks/) | [Show](Solutions/100-999/problem-232.js) | ⭐ |
| [234. Palindrome Linked List](https://leetcode.com/problems/palindrome-linked-list/) | [Show](Solutions/100-999/problem-234.js) | ⭐ |
| [237. Delete Node in a Linked List](https://leetcode.com/problems/delete-node-in-a-linked-list/) | [Show](Solutions/100-999/problem-237.js) | ⭐⭐ |
| [242. Valid Anagram](https://leetcode.com/problems/valid-anagram/) | [Show](Solutions/100-999/problem-242.js) | ⭐ |
| [258. Add Digits](https://leetcode.com/problems/add-digits/) | [Show](Solutions/100-999/problem-258.js) | ⭐ |
| [263. Ugly Number](https://leetcode.com/problems/ugly-number/) | [Show](Solutions/100-999/problem-263.js) | ⭐ |
| [268. Missing Number](https://leetcode.com/problems/missing-number/) | [Show](Solutions/100-999/problem-268.js) | ⭐ |
| [283. Move Zeroes](https://leetcode.com/problems/move-zeroes/) | [Show](Solutions/100-999/problem-283.js) | ⭐ |
| [287. Find the Duplicate Number](https://leetcode.com/problems/find-the-duplicate-number/) | [Show](Solutions/100-999/problem-287.js) | ⭐⭐ |
| [290. Word Pattern](https://leetcode.com/problems/word-pattern/) | [Show](Solutions/100-999/problem-290.js) | ⭐ |
| [328. Odd Even Linked List](https://leetcode.com/problems/odd-even-linked-list/) | [Show](Solutions/100-999/problem-328.js) | ⭐⭐ |
| [338. Counting Bits](https://leetcode.com/problems/counting-bits/) | [Show](Solutions/100-999/problem-338.js) | ⭐ |
| [342. Power of Four](https://leetcode.com/problems/power-of-four/) | [Show](Solutions/100-999/problem-342.js) | ⭐ |
| [344. Reverse String](https://leetcode.com/problems/reverse-string/) | [Show](Solutions/100-999/problem-344.js) | ⭐ |
| [345. Reverse Vowels of a String](https://leetcode.com/problems/reverse-vowels-of-a-string/) | [Show](Solutions/100-999/problem-345.js) | ⭐ |
| [349. Intersection of Two Arrays](https://leetcode.com/problems/intersection-of-two-arrays/) | [Show](Solutions/100-999/problem-349.js) | ⭐ |
| [350. Intersection of Two Arrays II](https://leetcode.com/problems/intersection-of-two-arrays-ii/) | [Show](Solutions/100-999/problem-350.js) | ⭐ |
| [383. Ransom Note](https://leetcode.com/problems/ransom-note/) | [Show](Solutions/100-999/problem-383.js) | ⭐ |
| [387. First Unique Character in a String](https://leetcode.com/problems/first-unique-character-in-a-string/) | [Show](Solutions/100-999/problem-387.js) | ⭐ |
| [389. Find the Difference](https://leetcode.com/problems/find-the-ifference/) | [Show](Solutions/100-999/problem-389.js) | ⭐ |
| [392. Is Subsequence](https://leetcode.com/problems/is-subsequence/) | [Show](Solutions/100-999/problem-392.js) | ⭐ |
| [409. Longest Palindrome](https://leetcode.com/problems/longest-palindrome/) | [Show](Solutions/100-999/problem-409.js) | ⭐ |
| [412. Fizz Buzz](https://leetcode.com/problems/fizz-buzz/) | [Show](Solutions/100-999/problem-412.js) | ⭐ |
| [434. Number of Segments in a String](https://leetcode.com/problems/number-of-segments-in-a-string/) | [Show](Solutions/100-999/problem-434.js) | ⭐ |
| [448. Find All Numbers Disappeared in an Array](https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array/) | [Show](Solutions/100-999/problem-448.js) | ⭐ |
| [482. License Key Formatting](https://leetcode.com/problems/license-key-formatting/) | [Show](Solutions/100-999/problem-482.js) | ⭐ |
| [496. Next Greater Element I](https://leetcode.com/problems/next-greater-element-i/) | [Show](Solutions/100-999/problem-496.js) | ⭐ |
| [500. Keyboard Row](https://leetcode.com/problems/keyboard-row/) | [Show](Solutions/100-999/problem-500.js) | ⭐ |
| [509. Fibonacci Number](https://leetcode.com/problems/fibonacci-number/) | [Show](Solutions/100-999/problem-509.js) | ⭐ |
| [520. Detect Capital](https://leetcode.com/problems/detect-capital/) | [Show](Solutions/100-999/problem-520.js) | ⭐ |
| [557. Reverse Words in a String III](https://leetcode.com/problems/reverse-words-in-a-string-iii/) | [Show](Solutions/100-999/problem-557.js) | ⭐ |
| [584. Find Customer Referee](https://leetcode.com/problems/find-customer-referee/) | [Show](Solutions/100-999/problem-584.sql) | ⭐ |
| [595. Big Countries](https://leetcode.com/problems/big-countries/) | [Show](Solutions/100-999/problem-595.sql) | ⭐ |
| [620. Not Boring Movies](https://leetcode.com/problems/not-boring-movies/) | [Show](Solutions/100-999/problem-620.sql) | ⭐ |
| [645. Set Mismatch](https://leetcode.com/problems/set-mismatch/) | [Show](Solutions/100-999/problem-645.js) | ⭐ |
| [709. To Lower Case](https://leetcode.com/problems/to-lower-case/) | [Show](Solutions/100-999/problem-709.js) | ⭐ |
| [728. Self Dividing Numbers](https://leetcode.com/problems/self-dividing-numbers/) | [Show](Solutions/100-999/problem-728.js) | ⭐ |
| [771. Jewels and Stones](https://leetcode.com/problems/jewels-and-stones/) | [Show](Solutions/100-999/problem-771.js) | ⭐ |
| [796. Rotate String](https://leetcode.com/problems/rotate-string/) | [Show](Solutions/100-999/problem-796.js) | ⭐ |
| [804. Unique Morse Code Words](https://leetcode.com/problems/unique-morse-code-words/) | [Show](Solutions/100-999/problem-804.js) | ⭐ |
| [844. Backspace String Compare](https://leetcode.com/problems/backspace-string-compare/) | [Show](Solutions/100-999/problem-844.js) | ⭐ |
| [876. Middle of the Linked List](https://leetcode.com/problems/middle-of-the-linked-list/) | [Show](Solutions/100-999/problem-876.js) | ⭐ |
| [976. Largest Perimeter Triangle](https://leetcode.com/problems/largest-perimeter-triangle) | Attempted | ⭐ |
| [977. Squares of a Sorted Array](https://leetcode.com/problems/squares-of-a-sorted-array/) | [Show](Solutions/100-999/problem-977.js) | ⭐ |
| [989. Add to Array-Form of Integer](https://leetcode.com/problems/add-to-array-form-of-integer/) | [Show](Solutions/100-999/problem-989.js) | ⭐ |
| [1068. Product Sales Analysis I](https://leetcode.com/problems/product-sales-analysis-i/) | [Show](Solutions/1000-1499/problem-1068.sql) | ⭐ |
| [1037. Valid Boomerang](https://leetcode.com/problems/valid-boomerang/) | [Show](Solutions/1000-1499/problem-1037.js) | ⭐ |
| [1108. Defanging an IP Address](https://leetcode.com/problems/defanging-an-ip-address/) | [Show](Solutions/1000-1499/problem-1108.js) | ⭐ |
| [1148. Article Views I](https://leetcode.com/problems/article-views-i/) | [Show](Solutions/1000-1499/problem-1148.sql) | ⭐ |
| [1207. Unique Number of Occurrences](https://leetcode.com/problems/unique-number-of-occurrences/) | [Show](Solutions/1000-1499/problem-1207.js) | ⭐ |
| [1232. Check If It Is a Straight Line](https://leetcode.com/problems/check-if-it-is-a-straight-line) | Attempted | ⭐ |
| [1281. Subtract the Product and Sum of Digits of an Integer](https://leetcode.com/problems/subtract-the-product-and-sum-of-digits-of-an-integer/) | [Show](Solutions/1000-1499/problem-1281.js) | ⭐ |
| [1287. Element Appearing More Than 25% In Sorted Array](https://leetcode.com/problems/element-appearing-more-than-25-in-sorted-array/) | [Show](Solutions/1000-1499/problem-1287.js) | ⭐ |
| [1290. Convert Binary Number in a Linked List to Integer](https://leetcode.com/problems/convert-binary-number-in-a-linked-list-to-integer/) | [Show](Solutions/1000-1499/problem-1290.js) | ⭐ |
| [1365. How Many Numbers Are Smaller Than the Current Number](https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number/) | [Show](Solutions/1000-1499/problem-1365.js) | ⭐ |
| [1422. Maximum Score After Splitting a String](https://leetcode.com/problems/maximum-score-after-splitting-a-string/) | [Show](Solutions/1000-1499/problem-1422.js) | ⭐ |
| [1431. Kids With the Greatest Number of Candies](https://leetcode.com/problems/kids-with-the-greatest-number-of-candies/) | [Show](Solutions/1000-1499/problem-1431.js) | ⭐ |
| [1436. Destination City](https://leetcode.com/problems/destination-city/) | [Show](Solutions/1000-1499/problem-1436.js) | ⭐ |
| [1464. Maximum Product of Two Elements in an Array](https://leetcode.com/problems/maximum-product-of-two-elements-in-an-array/) | [Show](Solutions/1000-1499/problem-1464.js) | ⭐ |
| [1470. Shuffle the Array](https://leetcode.com/problems/shuffle-the-array/) | [Show](Solutions/1000-1499/problem-1470.js) | ⭐ |
| [1480. Running Sum of 1d Array](https://leetcode.com/problems/running-sum-of-1d-array/) | [Show](Solutions/1000-1499/problem-1480.js) | ⭐ |
| [1491. Average Salary Excluding the Minimum and Maximum Salary](https://leetcode.com/problems/average-salary-excluding-the-minimum-and-maximum-salary/) | [Show](Solutions/1000-1499/problem-1491.js) | ⭐ |
| [1496. Path Crossing](https://leetcode.com/problems/path-crossing/) | [Show](Solutions/1000-1499/problem-1496.js) | ⭐ |
| [1502. Can Make Arithmetic Progression From Sequence](https://leetcode.com/problems/can-make-arithmetic-progression-from-sequence/) | [Show](Solutions/1500-1999/problem-1502.js) | ⭐ |
| [1523. Count Odd Numbers in an Interval Range](https://leetcode.com/problems/count-odd-numbers-in-an-interval-range/) | [Show](Solutions/1500-1999/problem-1523.js) | ⭐ |
| [1528. Shuffle String](https://leetcode.com/problems/shuffle-string/) | [Show](Solutions/1500-1999/problem-1528.js) | ⭐ |
| [1572. Matrix Diagonal Sum](https://leetcode.com/problems/matrix-diagonal-sum/) | [Show](Solutions/1500-1999/problem-1572.js) | ⭐ |
| [1582. Special Positions in a Binary Matrix](https://leetcode.com/problems/special-positions-in-a-binary-matrix/) | [Show](Solutions/1500-1999/problem-1582.js) | ⭐ |
| [1588. Sum of All Odd Length Subarrays](https://leetcode.com/problems/sum-of-all-odd-length-subarrays/) | [Show](Solutions/1500-1999/problem-1588.js) | ⭐ |
| [1624. Largest Substring Between Two Equal Characters](https://leetcode.com/problems/largest-substring-between-two-equal-characters/) | [Show](Solutions/1500-1999/problem-1624.js) | ⭐ |
| [1637. Widest Vertical Area Between Two Points Containing No Points](https://leetcode.com/problems/widest-vertical-area-between-two-points-containing-no-points/) | [Show](Solutions/1500-1999/problem-1637.js) | ⭐⭐ |
| [1662. Check If Two String Arrays are Equivalent](https://leetcode.com/problems/check-if-two-string-arrays-are-equivalent/) | [Show](Solutions/1500-1999/problem-1662.js) | ⭐ |
| [1669. Merge In Between Linked Lists](https://leetcode.com/problems/merge-in-between-linked-lists/) | [Show](Solutions/1500-1999/problem-1669.js) | ⭐⭐ |
| [1672. Richest Customer Wealth](https://leetcode.com/problems/richest-customer-wealth/) | [Show](Solutions/1500-1999/problem-1672.js) | ⭐ |
| [1678. Goal Parser Interpretation](https://leetcode.com/problems/goal-parser-interpretation/) | [Show](Solutions/1500-1999/problem-1678.js) | ⭐ |
| [1683. Invalid Tweets](https://leetcode.com/problems/invalid-tweets/) | [Show](Solutions/1500-1999/problem-1683.sql) | ⭐ |
| [1704. Determine if String Halves Are Alike](https://leetcode.com/problems/determine-if-string-halves-are-alike/) | [Show](Solutions/1500-1999/problem-1704.js) | ⭐ |
| [1716. Calculate Money in Leetcode Bank](https://leetcode.com/problems/calculate-money-in-leetcode-bank/) | [Show](Solutions/1500-1999/problem-1716.js) | ⭐ |
| [1720. Decode XORed Array](https://leetcode.com/problems/decode-xored-array/) | [Show](Solutions/1500-1999/problem-1720.js) | ⭐ |
| [1757. Recyclable and Low Fat Products](https://leetcode.com/problems/recyclable-and-low-fat-products/) | [Show](Solutions/1500-1999/problem-1757.sql) | ⭐ |
| [1758. Minimum Changes To Make Alternating Binary String](https://leetcode.com/problems/minimum-changes-to-make-alternating-binary-string/) | [Show](Solutions/1500-1999/problem-1758.js) | ⭐ |
| [1768. Merge Strings Alternately](https://leetcode.com/problems/merge-strings-alternately/) | [Show](Solutions/1500-1999/problem-1768.js) | ⭐ |
| [1773. Count Items Matching a Rule](https://leetcode.com/problems/count-items-matching-a-rule/) | [Show](Solutions/1500-1999/problem-1773) | ⭐ |
| [1779. Find Nearest Point That Has the Same X or Y Coordinate](https://leetcode.com/problems/find-nearest-point-that-has-the-same-x-or-y-coordinate/) | [Show](Solutions/1500-1999/problem-1779.js) | ⭐ |
| [1790. Check if One String Swap Can Make Strings Equal](https://leetcode.com/problems/check-if-one-string-swap-can-make-strings-equal/) | [Show](Solutions/1500-1999/problem-1790.js) | ⭐ |
| [1816. Truncate Sentence](https://leetcode.com/problems/truncate-sentence/) | [Show](Solutions/1500-1999/problem-1816.js) | ⭐ |
| [1822. Sign of the Product of an Array](https://leetcode.com/problems/sign-of-the-product-of-an-array/) | [Show](Solutions/1500-1999/problem-1822.js) | ⭐ |
| [1832. Check if the Sentence Is Pangram](https://leetcode.com/problems/check-if-the-sentence-is-pangram/) | [Show](Solutions/1500-1999/problem-1832.js) | ⭐ |
| [1859. Sorting the Sentence](https://leetcode.com/problems/sorting-the-sentence/) | [Show](Solutions/1500-1999/problem-1859.js) | ⭐ |
| [1876. Substrings of Size Three with Distinct Characters](https://leetcode.com/problems/substrings-of-size-three-with-distinct-characters/) | [Show](Solutions/1500-1999/problem-1876.js) | ⭐ |
| [1903. Largest Odd Number in String](https://leetcode.com/problems/largest-odd-number-in-string/) | [Show](Solutions/1500-1999/problem-1903.js) | ⭐ |
| [1913. Maximum Product Difference Between Two Pairs](https://leetcode.com/problems/maximum-product-difference-between-two-pairs/) | [Show](Solutions/1500-1999/problem-1913.js) | ⭐ |
| [1920. Build Array from Permutation](https://leetcode.com/problems/build-array-from-permutation/) | [Show](Solutions/1500-1999/problem-1920.js) | ⭐ |
| [1929. Concatenation of Array](https://leetcode.com/problems/concatenation-of-array/) | [Show](Solutions/1500-1999/problem-1929.js) | ⭐ |
| [1935. Maximum Number of Words You Can Type](https://leetcode.com/problems/maximum-number-of-words-you-can-type/) | [Show](Solutions/1500-1999/problem-1935.js) | ⭐ |
| [1952. Three Divisors](https://leetcode.com/problems/three-divisors/) | [Show](Solutions/1500-1999/problem-1952.js) | ⭐ |
| [1979. Find Greatest Common Divisor of Array](https://leetcode.com/problems/find-greatest-common-divisor-of-array/) | [Show](Solutions/1500-1999/problem-1979.js) | ⭐ |
| [2011. Final Value of Variable After Performing Operations](https://leetcode.com/problems/final-value-of-variable-after-performing-operations/) | [Show](Solutions/2000-2499/problem-2011.js) | ⭐ |
| [2089. Find Target Indices After Sorting Array](https://leetcode.com/problems/find-target-indices-after-sorting-array/) | [Show](Solutions/2000-2499/problem-2089.js) | ⭐ |
| [2095. Delete the Middle Node of a Linked List](https://leetcode.com/problems/delete-the-middle-node-of-a-linked-list/) | [Show](Solutions/2000-2499/problem-2095.js) | ⭐⭐ |
| [2114. Maximum Number of Words Found in Sentences](https://leetcode.com/problems/maximum-number-of-words-found-in-sentences/) | [Show](Solutions/2000-2499/problem-2114.js) | ⭐ |
| [2119. A Number After a Double Reversal](https://leetcode.com/problems/a-number-after-a-double-reversal/) | [Show](Solutions/2000-2499/problem-2119.js) | ⭐ |
| [2130. Maximum Twin Sum of a Linked List](https://leetcode.com/problems/maximum-twin-sum-of-a-linked-list/) | [Show](Solutions/2000-2499/problem-2130.js) | ⭐⭐ |
| [2160. Minimum Sum of Four Digit Number After Splitting Digits](https://leetcode.com/problems/minimum-sum-of-four-digit-number-after-splitting-digits/) | [Show](Solutions/2000-2499/problem-2160.js) | ⭐ |
| [2181. Merge Nodes in Between Zeros](https://leetcode.com/problems/merge-nodes-in-between-zeros/) | [Show](Solutions/2000-2499/problem-2181.js) | ⭐⭐ |
| [2215. Find the Difference of Two Arrays](https://leetcode.com/problems/find-the-difference-of-two-arrays/) | [Show](Solutions/2000-2499/problem-2215.js) | ⭐ |
| [2235. Add Two Integers](https://leetcode.com/problems/add-two-integers/) | [Show](Solutions/2000-2499/problem-2235.js) | ⭐ |
| [2248. Intersection of Multiple Arrays](https://leetcode.com/problems/intersection-of-multiple-arrays/) | [Show](Solutions/2000-2499/problem-2248.js) | ⭐ |
| [2269. Find the K-Beauty of a Number](https://leetcode.com/problems/find-the-k-beauty-of-a-number/) | [Show](Solutions/2000-2499/problem-2269.js) | ⭐ |
| [2325. Decode the Message](https://leetcode.com/problems/decode-the-message/) | [Show](Solutions/2000-2499/problem-2325.js) | ⭐ |
| [2357. Make Array Zero by Subtracting Equal Amounts](https://leetcode.com/problems/make-array-zero-by-subtracting-equal-amounts/) | [Show](Solutions/2000-2499/problem-2357.js) | ⭐ |
| [2413. Smallest Even Multiple](https://leetcode.com/problems/smallest-even-multiple/) | [Show](Solutions/2000-2499/problem-2413.js) | ⭐ |
| [2418. Sort the People](https://leetcode.com/problems/sort-the-people/) | [Show](Solutions/2000-2499/problem-2418.js) | ⭐ |
| [2469. Convert the Temperature](https://leetcode.com/problems/convert-the-temperature/) | [Show](Solutions/2000-2499/problem-2469.js) | ⭐ |
| [2481. Minimum Cuts to Divide a Circle](https://leetcode.com/problems/minimum-cuts-to-divide-a-circle/) | [Show](Solutions/2000-2499/problem-2481.js) | ⭐ |
| [2482. Difference Between Ones and Zeros in Row and Column](https://leetcode.com/problems/difference-between-ones-and-zeros-in-row-and-column/) | [Show](Solutions/2000-2499/problem-2482.js) | ⭐⭐ |
| [2496. Maximum Value of a String in an Array](https://leetcode.com/problems/maximum-value-of-a-string-in-an-array/) | [Show](Solutions/2000-2499/problem-2496.js) | ⭐ |
| [2520. Count the Digits That Divide a Number](https://leetcode.com/problems/count-the-digits-that-divide-a-number/) | [Show](Solutions/2500-3000/problem-2520.js) | ⭐ |
| [2535. Difference Between Element Sum and Digit Sum of an Array](https://leetcode.com/problems/difference-between-element-sum-and-digit-sum-of-an-array/) | [Show](Solutions/2500-3000/problem-2535.js) | ⭐ |
| [2540. Minimum Common Value](https://leetcode.com/problems/minimum-common-value/) | [Show](Solutions/2500-3000/problem-2540.js) | ⭐ |
| [2610. Convert an Array Into a 2D Array With Conditions](https://leetcode.com/problems/convert-an-array-into-a-2d-array-with-conditions/) | [Show](Solutions/2500-3000/problem-2610.js) | ⭐⭐ |
| [2619. Array Prototype Last](https://leetcode.com/problems/array-prototype-last/) | [Show](Solutions/2500-3000/problem-2619.js) | ⭐ |
| [2620. Counter](https://leetcode.com/problems/counter/) | [Show](Solutions/2500-3000/problem-2620.js) | ⭐ |
| [2621. Sleep](https://leetcode.com/problems/sleep/) | [Show](Solutions/2500-3000/problem-2621.js) | ⭐ |
| [2626. Array Reduce Transformation](https://leetcode.com/problems/array-reduce-transformation/) | [Show](Solutions/2500-3000/problem-2626.js) | ⭐ |
| [2629. Function Composition](https://leetcode.com/problems/function-composition/) | [Show](Solutions/2500-3000/problem-2629.js) | ⭐ |
| [2634. Filter Elements from Array](https://leetcode.com/problems/filter-elements-from-array/) | [Show](Solutions/2500-3000/problem-2634.js) | ⭐ |
| [2635. Apply Transform Over Each Element in Array](https://leetcode.com/problems/apply-transform-over-each-element-in-array/) | [Show](Solutions/2500-3000/problem-2635.js) | ⭐ |
| [2665. Counter II](https://leetcode.com/problems/counter-ii/) | [Show](Solutions/2500-3000/problem-2665.js) | ⭐ |
| [2666. Allow One Function Call](https://leetcode.com/problems/allow-one-function-call/) | [Show](Solutions/2500-3000/problem-2666.js) | ⭐ |
| [2667. Create Hello World Function](https://leetcode.com/problems/create-hello-world-function/) | [Show](Solutions/2500-3000/problem-2667.js) | ⭐ |
| [2677. Chunk Array](https://leetcode.com/problems/chunk-array/) | [Show](Solutions/2500-3000/problem-2677.js) | ⭐ |
| [2678. Number of Senior Citizens](https://leetcode.com/problems/number-of-senior-citizens/) | [Show](Solutions/2500-3000/problem-2678.js) | ⭐ |
| [2695. Array Wrapper](https://leetcode.com/problems/array-wrapper/) | [Show](Solutions/2500-3000/problem-2695.js) | ⭐ |
| [2703. Return Length of Arguments Passed](https://leetcode.com/problems/return-length-of-arguments-passed/) | [Show](Solutions/2500-3000/problem-2703.js) | ⭐ |
| [2704. To Be Or Not To Be](https://leetcode.com/problems/to-be-or-not-to-be/) | [Show](Solutions/2500-3000/problem-2704.js) | ⭐ |
| [2706. Buy Two Chocolates](https://leetcode.com/problems/buy-two-chocolates/) | [Show](Solutions/2500-3000/problem-2706.js) | ⭐ |
| [2722. Join Two Arrays by ID](https://leetcode.com/problems/join-two-arrays-by-id/) | [Show](Solutions/2500-3000/problem-2722.js) | ⭐⭐ |
| [2723. Add Two Promises](https://leetcode.com/problems/add-two-promises/) | [Show](Solutions/2500-3000/problem-2723.js) | ⭐ |
| [2724. Sort By](https://leetcode.com/problems/sort-by/) | [Show](Solutions/2500-3000/problem-2724.js) | ⭐ |
| [2726. Calculator with Method Chaining](https://leetcode.com/problems/calculator-with-method-chaining/) | [Show](Solutions/2500-3000/problem-2726.js) | ⭐ |
| [2727. Is Object Empty](https://leetcode.com/problems/is-object-empty/) | [Show](Solutions/2500-3000/problem-2727.js) | ⭐ |
| [2729. Check if The Number is Fascinating](https://leetcode.com/problems/check-if-the-number-is-fascinating/) | [Show](Solutions/2500-3000/problem-2729.js) | ⭐ |
| [2798. Number of Employees Who Met the Target](https://leetcode.com/problems/number-of-employees-who-met-the-target/) | [Show](Solutions/2500-3000/problem-2798.js) | ⭐ |
| [2807. Insert Greatest Common Divisors in Linked List](https://leetcode.com/problems/insert-greatest-common-divisors-in-linked-list/) | [Show](Solutions/2500-3000/problem-2807.js) | ⭐⭐ |
| [2828. Check if a String Is an Acronym of Words](https://leetcode.com/problems/check-if-a-string-is-an-acronym-of-words/) | [Show](Solutions/2500-3000/problem-2828.js) | ⭐ |
| [2942. Find Words Containing Character](https://leetcode.com/problems/find-words-containing-character/) | [Show](Solutions/2500-3000/problem-2942.js) | ⭐ |
[⬆️ Scroll top](#leetcode-solutions)
---
## Resources
- Big-O Cheatsheet [🔗Link](https://www.bigocheatsheet.com/)
- Visualizations
- Visualgo [🔗Link](https://visualgo.net/en)
- Data Structure Visualizations [🔗Link](https://www.cs.usfca.edu/~galles/visualization/Algorithms.html)
[⬆️ Scroll top](#leetcode-solutions)