{"id":21983027,"url":"https://github.com/arsho/leetcode","last_synced_at":"2025-06-10T10:34:12.210Z","repository":{"id":65418436,"uuid":"123886220","full_name":"arsho/leetcode","owner":"arsho","description":"Solutions of Leetcode problem","archived":false,"fork":false,"pushed_at":"2024-05-18T15:01:18.000Z","size":175,"stargazers_count":4,"open_issues_count":0,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-30T05:48:01.398Z","etag":null,"topics":["algorithm","interview-preparation","interview-questions","leetcode-solutions","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arsho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-05T08:10:27.000Z","updated_at":"2024-05-18T15:01:22.000Z","dependencies_parsed_at":"2023-02-12T16:46:00.521Z","dependency_job_id":null,"html_url":"https://github.com/arsho/leetcode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arsho%2Fleetcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arsho%2Fleetcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arsho%2Fleetcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arsho%2Fleetcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arsho","download_url":"https://codeload.github.com/arsho/leetcode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251651220,"owners_count":21621702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm","interview-preparation","interview-questions","leetcode-solutions","python"],"created_at":"2024-11-29T17:34:11.852Z","updated_at":"2025-04-30T05:48:08.625Z","avatar_url":"https://github.com/arsho.png","language":"Python","readme":"Leetcode Solutions\n==================\n\nThe following table contains the problems with solutions:\n\n| Problem | Category | Solution |\n| --- | --- | --- |\n| [492. Construct the Rectangle](https://leetcode.com/problems/construct-the-rectangle/description/) | Adhoc | [Solution](solutions/492_Construct_the_Rectangle) |\n| [806. Number of Lines To Write String](https://leetcode.com/problems/number-of-lines-to-write-string/description/) | Adhoc | [Solution](solutions/806_Number_of_Lines_To_Write_String) |\n| [2544. Alternating Digit Sum](https://leetcode.com/problems/alternating-digit-sum/) | Adhoc | [Solution](solutions/2544_Alternating_Digit_Sum) |\n| [48. Rotate Image](https://leetcode.com/problems/rotate-image/) | Array | [Solution](solutions/48_Rotate_Image) |\n| [66. Plus One](https://leetcode.com/problems/plus-one/) | Array | [Solution](solutions/66_Plus_One) |\n| [189. Rotate Array](https://leetcode.com/problems/rotate-array/) | Array | [Solution](solutions/189_Rotate_Array) |\n| [283. Move Zeroes](https://leetcode.com/problems/move-zeroes/) | Array | [Solution](solutions/283_Move_Zeroes) |\n| [414. Third Maximum Number](https://leetcode.com/problems/third-maximum-number/) | Array | [Solution](solutions/414_Third_Maximum_Number) |\n| [448. Find All Numbers Disappeared in an Array](https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array/) | Array | [Solution](solutions/448_Find_All_Numbers_Disappeared_in_an_Array) |\n| [485. Max Consecutive Ones](https://leetcode.com/problems/max-consecutive-ones/) | Array | [Solution](solutions/485_Max_Consecutive_Ones) |\n| [509. Fibonacci Number](https://leetcode.com/problems/fibonacci-number/) | Array | [Solution](solutions/509_Fibonacci_Number) |\n| [643. Maximum Average Subarray I](https://leetcode.com/problems/maximum-average-subarray-i/) | Array | [Solution](solutions/643_Maximum_Average_Subarray_I) |\n| [832. Flipping an Image](https://leetcode.com/problems/flipping-an-image/) | Array | [Solution](solutions/832_Flipping_an_Image) |\n| [867. Transpose Matrix](https://leetcode.com/problems/transpose-matrix/) | Array | [Solution](solutions/867_Transpose_Matrix) |\n| [896. Monotonic Array](https://leetcode.com/problems/monotonic-array/) | Array | [Solution](solutions/896_Monotonic_Array) |\n| [905. Sort Array By Parity](https://leetcode.com/problems/sort-array-by-parity/) | Array | [Solution](solutions/905_Sort_Array_By_Parity) |\n| [922. Sort Array By Parity II](https://leetcode.com/problems/sort-array-by-parity-ii/) | Array | [Solution](solutions/922_Sort_Array_By_Parity_II) |\n| [941. Valid Mountain Array](https://leetcode.com/problems/valid-mountain-array/) | Array | [Solution](solutions/941_Valid_Mountain_Array) |\n| [985. Sum of Even Numbers After Queries](https://leetcode.com/problems/sum-of-even-numbers-after-queries/) | Array | [Solution](solutions/985_Sum_of_Even_Numbers_After_Queries) |\n| [999. Available Captures for Rook](https://leetcode.com/problems/available-captures-for-rook/) | Array | [Solution](solutions/999_Available_Captures_for_Rook) |\n| [1051. Height Checker](https://leetcode.com/problems/height-checker/) | Array | [Solution](solutions/1051_Height_Checker) |\n| [1089. Duplicate Zeros](https://leetcode.com/problems/duplicate-zeros/) | Array | [Solution](solutions/1089_Duplicate_Zeros) |\n| [1200. Minimum Absolute Difference](https://leetcode.com/problems/minimum-absolute-difference/) | Array | [Solution](solutions/1200_Minimum_Absolute_Difference) |\n| [1252. Cells with Odd Values in a Matrix](https://leetcode.com/problems/cells-with-odd-values-in-a-matrix/) | Array | [Solution](solutions/1252_Cells_with_Odd_Values_in_a_Matrix) |\n| [1295. Find Numbers with Even Number of Digits](https://leetcode.com/problems/find-numbers-with-even-number-of-digits/) | Array | [Solution](solutions/1295_Find_Numbers_with_Even_Number_of_Digits) |\n| [1299. Replace Elements with Greatest Element on Right Side](https://leetcode.com/problems/replace-elements-with-greatest-element-on-right-side/) | Array | [Solution](solutions/1299_Replace_Elements_with_Greatest_Element_on_Right_Side) |\n| [1313. Decompress Run-Length Encoded List](https://leetcode.com/problems/decompress-run-length-encoded-list/) | Array | [Solution](solutions/1313_Decompress_Run-Length_Encoded_List) |\n| [1331. Rank Transform of an Array](https://leetcode.com/problems/rank-transform-of-an-array/) | Array | [Solution](solutions/1331_Rank_Transform_of_an_Array) |\n| [1337. The K Weakest Rows in a Matrix](https://leetcode.com/problems/the-k-weakest-rows-in-a-matrix/) | Array | [Solution](solutions/1337_The_K_Weakest_Rows_in_a_Matrix) |\n| [1346. Check If N and Its Double Exist](https://leetcode.com/problems/check-if-n-and-its-double-exist/) | Array | [Solution](solutions/1346_Check_If_N_and_Its_Double_Exist) |\n| [1351. Count Negative Numbers in a Sorted Matrix](https://leetcode.com/problems/count-negative-numbers-in-a-sorted-matrix/) | Array | [Solution](solutions/1351_Count_Negative_Numbers_in_a_Sorted_Matrix) |\n| [1385. Find the Distance Value Between Two Arrays](https://leetcode.com/problems/find-the-distance-value-between-two-arrays/) | Array | [Solution](solutions/1385_Find_the_Distance_Value_Between_Two_Arrays) |\n| [1431. Kids With the Greatest Number of Candies](https://leetcode.com/problems/kids-with-the-greatest-number-of-candies/) | Array | [Solution](solutions/1431_Kids_With_the_Greatest_Number_of_Candies) |\n| [1450. Number of Students Doing Homework at a Given Time](https://leetcode.com/problems/number-of-students-doing-homework-at-a-given-time/) | Array | [Solution](solutions/1450_Number_of_Students_Doing_Homework_at_a_Given_Time) |\n| [1470. Shuffle the Array](https://leetcode.com/problems/shuffle-the-array/) | Array | [Solution](solutions/1470_Shuffle_the_Array) |\n| [1476. Subrectangle Queries](https://leetcode.com/problems/subrectangle-queries/) | Array | [Solution](solutions/1476_Subrectangle_Queries) |\n| [1480. Running Sum of 1d Array](https://leetcode.com/problems/running-sum-of-1d-array/) | Array | [Solution](solutions/1480_Running_Sum_of_1d_Array) |\n| [1534. Count Good Triplets](https://leetcode.com/problems/count-good-triplets/) | Array | [Solution](solutions/1534_Count_Good_Triplets) |\n| [1629. Slowest Key](https://leetcode.com/problems/slowest-key/) | Array | [Solution](solutions/1629_Slowest_Key) |\n| [1672. Richest Customer Wealth](https://leetcode.com/problems/richest-customer-wealth/) | Array | [Solution](solutions/1672_Richest_Customer_Wealth) |\n| [1732. Find the Highest Altitude](https://leetcode.com/problems/find-the-highest-altitude/) | Array | [Solution](solutions/1732_Find_the_Highest_Altitude) |\n| [1742. Maximum Number of Balls in a Box](https://leetcode.com/problems/maximum-number-of-balls-in-a-box/) | Array | [Solution](solutions/1742_Maximum_Number_of_Balls_in_a_Box) |\n| [1752. Check if Array Is Sorted and Rotated](https://leetcode.com/problems/check-if-array-is-sorted-and-rotated/) | Array | [Solution](solutions/1752_Check_if_Array_Is_Sorted_and_Rotated) |\n| [1773. Count Items Matching a Rule](https://leetcode.com/problems/count-items-matching-a-rule/) | Array | [Solution](solutions/1773_Count_Items_Matching_a_Rule) |\n| [1833. Maximum Ice Cream Bars](https://leetcode.com/problems/maximum-ice-cream-bars/) | Array | [Solution](solutions/1833_Maximum_Ice_Cream_Bars) |\n| [2460. Apply Operations to an Array](https://leetcode.com/problems/apply-operations-to-an-array/) | Array | [Solution](solutions/2460_Apply_Operations_to_an_Array) |\n| [1863. Sum of All Subset XOR Totals](https://leetcode.com/problems/sum-of-all-subset-xor-totals/) | Backtracking | [Solution](solutions/1863_Sum_of_All_Subset_XOR_Totals) |\n| [275. H-Index II](https://leetcode.com/problems/h-index-ii/) | Binary Search | [Solution](solutions/275_H-Index_II) |\n| [278. First Bad Version](https://leetcode.com/problems/first-bad-version/) | Binary Search | [Solution](solutions/278_First_Bad_Version) |\n| [367. Valid Perfect Square](https://leetcode.com/problems/valid-perfect-square/description/) | Binary Search | [Solution](solutions/367_Valid_Perfect_Square) |\n| [374. Guess Number Higher or Lower](https://leetcode.com/problems/guess-number-higher-or-lower/description/) | Binary Search | [Solution](solutions/374_Guess_Number_Higher_or_Lower) |\n| [441. Arranging Coins](https://leetcode.com/problems/arranging-coins/) | Binary Search | [Solution](solutions/441_Arranging_Coins) |\n| [540. Single Element in a Sorted Array](https://leetcode.com/problems/single-element-in-a-sorted-array/) | Binary Search | [Solution](solutions/540_Single_Element_in_a_Sorted_Array) |\n| [704. Binary Search](https://leetcode.com/problems/binary-search/) | Binary Search | [Solution](solutions/704_Binary_Search) |\n| [852. Peak Index in a Mountain Array](https://leetcode.com/problems/peak-index-in-a-mountain-array/) | Binary Search | [Solution](solutions/852_Peak_Index_in_a_Mountain_Array) |\n| [342. Power of Four](https://leetcode.com/problems/power-of-four/) | Bit Manipulation | [Solution](solutions/342_Power_of_Four) |\n| [1720. Decode XORed Array](https://leetcode.com/problems/decode-xored-array/) | Bit Manipulation | [Solution](solutions/1720_Decode_XORed_Array) |\n| [225. Implement Stack using Queues](https://leetcode.com/problems/implement-stack-using-queues/) | Design | [Solution](solutions/225_Implement_Stack_using_Queues) |\n| [232. Implement Queue using Stacks](https://leetcode.com/problems/implement-queue-using-stacks/) | Design | [Solution](solutions/232_Implement_Queue_using_Stacks) |\n| [707. Design Linked List](https://leetcode.com/problems/design-linked-list/) | Design | [Solution](solutions/707_Design_Linked_List) |\n| [1286. Iterator for Combination](https://leetcode.com/problems/iterator-for-combination/) | Design | [Solution](solutions/1286_Iterator_for_Combination) |\n| [1381. Design a Stack With Increment Operation](https://leetcode.com/problems/design-a-stack-with-increment-operation/) | Design | [Solution](solutions/1381_Design_a_Stack_With_Increment_Operation) |\n| [1603. Design Parking System](https://leetcode.com/problems/design-parking-system/) | Design | [Solution](solutions/1603_Design_Parking_System) |\n| [215. Kth Largest Element in an Array](https://leetcode.com/problems/kth-largest-element-in-an-array/) | Divide and Conquer | [Solution](solutions/215_Kth_Largest_Element_in_an_Array) |\n| [53. Maximum Subarray](https://leetcode.com/problems/maximum-subarray/) | Dynamic Programming | [Solution](solutions/53_Maximum_Subarray) |\n| [70. Climbing Stairs](https://leetcode.com/problems/climbing-stairs/description/) | Dynamic Programming | [Solution](solutions/70_Climbing_Stairs) |\n| [121. Best Time to Buy and Sell Stock](https://leetcode.com/problems/best-time-to-buy-and-sell-stock/description/) | Dynamic Programming | [Solution](solutions/121_Best_Time_to_Buy_and_Sell_Stock) |\n| [338. Counting Bits](https://leetcode.com/problems/counting-bits/) | Dynamic Programming | [Solution](solutions/338_Counting_Bits) |\n| [746. Min Cost Climbing Stairs](https://leetcode.com/problems/min-cost-climbing-stairs/description/) | Dynamic Programming | [Solution](solutions/746_Min_Cost_Climbing_Stairs) |\n| [785. Is Graph Bipartite?](https://leetcode.com/problems/is-graph-bipartite/) | Graph | [Solution](solutions/785_Is_Graph_Bipartite?) |\n| [997. Find the Town Judge](https://leetcode.com/problems/find-the-town-judge/) | Graph | [Solution](solutions/997_Find_the_Town_Judge) |\n| [455. Assign Cookies](https://leetcode.com/problems/assign-cookies/description/) | Greedy | [Solution](solutions/455_Assign_Cookies) |\n| [944. Delete Columns to Make Sorted](https://leetcode.com/problems/delete-columns-to-make-sorted/) | Greedy | [Solution](solutions/944_Delete_Columns_to_Make_Sorted) |\n| [1282. Group the People Given the Group Size They Belong To](https://leetcode.com/problems/group-the-people-given-the-group-size-they-belong-to/) | Greedy | [Solution](solutions/1282_Group_the_People_Given_the_Group_Size_They_Belong_To) |\n| [1518. Water Bottles](https://leetcode.com/problems/water-bottles/) | Greedy | [Solution](solutions/1518_Water_Bottles) |\n| [1710. Maximum Units on a Truck](https://leetcode.com/problems/maximum-units-on-a-truck/) | Greedy | [Solution](solutions/1710_Maximum_Units_on_a_Truck) |\n| [1716. Calculate Money in Leetcode Bank](https://leetcode.com/problems/calculate-money-in-leetcode-bank/) | Greedy | [Solution](solutions/1716_Calculate_Money_in_Leetcode_Bank) |\n| [1725. Number Of Rectangles That Can Form The Largest Square](https://leetcode.com/problems/number-of-rectangles-that-can-form-the-largest-square/) | Greedy | [Solution](solutions/1725_Number_Of_Rectangles_That_Can_Form_The_Largest_Square) |\n| [1736. Latest Time by Replacing Hidden Digits](https://leetcode.com/problems/latest-time-by-replacing-hidden-digits/) | Greedy | [Solution](solutions/1736_Latest_Time_by_Replacing_Hidden_Digits) |\n| [1774. Closest Dessert Cost](https://leetcode.com/problems/closest-dessert-cost/) | Greedy | [Solution](solutions/1774_Closest_Dessert_Cost) |\n| [1. Two Sum](https://leetcode.com/problems/two-sum/) | Hash Table | [Solution](solutions/1_Two_Sum) |\n| [13. Roman to Integer](https://leetcode.com/problems/roman-to-integer/) | Hash Table | [Solution](solutions/13_Roman_to_Integer) |\n| [36. Valid Sudoku](https://leetcode.com/problems/valid-sudoku/) | Hash Table | [Solution](solutions/36_Valid_Sudoku) |\n| [136. Single Number](https://leetcode.com/problems/single-number/) | Hash Table | [Solution](solutions/136_Single_Number) |\n| [169. Majority Element](https://leetcode.com/problems/majority-element/) | Hash Table | [Solution](solutions/169_Majority_Element) |\n| [202. Happy Number](https://leetcode.com/problems/happy-number/) | Hash Table | [Solution](solutions/202_Happy_Number) |\n| [242. Valid Anagram](https://leetcode.com/problems/valid-anagram/) | Hash Table | [Solution](solutions/242_Valid_Anagram) |\n| [350. Intersection of Two Arrays II](https://leetcode.com/problems/intersection-of-two-arrays-ii/) | Hash Table | [Solution](solutions/350_Intersection_of_Two_Arrays_II) |\n| [387. First Unique Character in a String](https://leetcode.com/problems/first-unique-character-in-a-string/) | Hash Table | [Solution](solutions/387_First_Unique_Character_in_a_String) |\n| [409. Longest Palindrome](https://leetcode.com/problems/longest-palindrome/) | Hash Table | [Solution](solutions/409_Longest_Palindrome) |\n| [705. Design HashSet](https://leetcode.com/problems/design-hashset/) | Hash Table | [Solution](solutions/705_Design_HashSet) |\n| [748. Shortest Completing Word](https://leetcode.com/problems/shortest-completing-word/) | Hash Table | [Solution](solutions/748_Shortest_Completing_Word) |\n| [771. Jewels and Stones](https://leetcode.com/problems/jewels-and-stones/) | Hash Table | [Solution](solutions/771_Jewels_and_stones) |\n| [811. Subdomain Visit Count](https://leetcode.com/problems/subdomain-visit-count/description/) | Hash Table | [Solution](solutions/811_Subdomain_Visit_Count) |\n| [884. Uncommon Words from Two Sentences](https://leetcode.com/problems/uncommon-words-from-two-sentences/) | Hash Table | [Solution](solutions/884_Uncommon_Words_from_Two_Sentences) |\n| [961. N-Repeated Element in Size 2N Array](https://leetcode.com/problems/n-repeated-element-in-size-2n-array/) | Hash Table | [Solution](solutions/961_N-Repeated_Element_in_Size_2N_Array) |\n| [1002. Find Common Characters](https://leetcode.com/problems/find-common-characters/) | Hash Table | [Solution](solutions/1002_Find_Common_Characters) |\n| [1160. Find Words That Can Be Formed by Characters](https://leetcode.com/problems/find-words-that-can-be-formed-by-characters/) | Hash Table | [Solution](solutions/1160_Find_Words_That_Can_Be_Formed_by_Characters) |\n| [1189. Maximum Number of Balloons](https://leetcode.com/problems/maximum-number-of-balloons/) | Hash Table | [Solution](solutions/1189_Maximum_Number_of_Balloons) |\n| [1207. Unique Number of Occurrences](https://leetcode.com/problems/unique-number-of-occurrences/) | Hash Table | [Solution](solutions/1207_Unique_Number_of_Occurrences) |\n| [1365. How Many Numbers Are Smaller Than the Current Number](https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number/) | Hash Table | [Solution](solutions/1365_How_Many_Numbers_Are_Smaller_Than_the_Current_Number) |\n| [1512. Number of Good Pairs](https://leetcode.com/problems/number-of-good-pairs/) | Hash Table | [Solution](solutions/1512_Number_of_Good_Pairs) |\n| [1539. Kth Missing Positive Number](https://leetcode.com/problems/kth-missing-positive-number/) | Hash Table | [Solution](solutions/1539_Kth_Missing_Positive_Number) |\n| [2062. Count Vowel Substrings of a String](https://leetcode.com/problems/count-vowel-substrings-of-a-string/) | Hash Table | [Solution](solutions/2062_Count_Vowel_Substrings_of_a_String) |\n| [850. Rectangle Area II](https://leetcode.com/problems/rectangle-area-ii/) | Line Sweep | [Solution](solutions/850_Rectangle_Area_II) |\n| [21. Merge Two Sorted Lists](https://leetcode.com/problems/merge-two-sorted-lists/) | Linked List | [Solution](solutions/21_Merge_Two_Sorted_Lists) |\n| [83. Remove Duplicates from Sorted List](https://leetcode.com/problems/remove-duplicates-from-sorted-list/) | Linked List | [Solution](solutions/83_Remove_Duplicates_from_Sorted_List) |\n| [876. Middle of the Linked List](https://leetcode.com/problems/middle-of-the-linked-list/) | Linked List | [Solution](solutions/876_Middle_of_the_Linked_List) |\n| [1290. Convert Binary Number in a Linked List to Integer](https://leetcode.com/problems/convert-binary-number-in-a-linked-list-to-integer/) | Linked List | [Solution](solutions/1290_Convert_Binary_Number_in_a_Linked_List_to_Integer) |\n| [7. Reverse Integer](https://leetcode.com/problems/reverse-integer/) | Math | [Solution](solutions/7_Reverse_Integer) |\n| [223. Rectangle Area](https://leetcode.com/problems/rectangle-area/) | Math | [Solution](solutions/223_Rectangle_Area) |\n| [263. Ugly Number](https://leetcode.com/problems/ugly-number/) | Math | [Solution](solutions/263_Ugly_Number) |\n| [507. Perfect Number](https://leetcode.com/problems/perfect-number/) | Math | [Solution](solutions/507_Perfect_Number) |\n| [728. Self Dividing Numbers](https://leetcode.com/problems/self-dividing-numbers/) | Math | [Solution](solutions/728_Self_Dividing_Numbers) |\n| [812. Largest Triangle Area](https://leetcode.com/problems/largest-triangle-area/) | Math | [Solution](solutions/812_Largest_Triangle_Area) |\n| [836. Rectangle Overlap](https://leetcode.com/problems/rectangle-overlap/) | Math | [Solution](solutions/836_Rectangle_Overlap) |\n| [942. DI String Match](https://leetcode.com/problems/di-string-match/) | Math | [Solution](solutions/942_DI_String_Match) |\n| [970. Powerful Integers](https://leetcode.com/problems/powerful-integers/) | Math | [Solution](solutions/970_Powerful_Integers) |\n| [976. Largest Perimeter Triangle](https://leetcode.com/problems/largest-perimeter-triangle/) | Math | [Solution](solutions/976_Largest_Perimeter_Triangle) |\n| [1232. Check If It Is a Straight Line](https://leetcode.com/problems/check-if-it-is-a-straight-line/) | Math | [Solution](solutions/1232_Check_If_It_Is_a_Straight_Line) |\n| [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/) | Math | [Solution](solutions/1281_Subtract_the_Product_and_Sum_of_Digits_of_an_Integer) |\n| [1317. Convert Integer to the Sum of Two No-Zero Integers](https://leetcode.com/problems/convert-integer-to-the-sum-of-two-no-zero-integers/) | Math | [Solution](solutions/1317_Convert_Integer_to_the_Sum_of_Two_No-Zero_Integers) |\n| [1323. Maximum 69 Number](https://leetcode.com/problems/maximum-69-number/) | Math | [Solution](solutions/1323_Maximum_69_Number) |\n| [1523. Count Odd Numbers in an Interval Range](https://leetcode.com/problems/count-odd-numbers-in-an-interval-range/) | Math | [Solution](solutions/1523_Count_Odd_Numbers_in_an_Interval_Range) |\n| [2481. Minimum Cuts to Divide a Circle](https://leetcode.com/problems/minimum-cuts-to-divide-a-circle/) | Math | [Solution](solutions/2481_Minimum_Cuts_to_Divide_a_Circle) |\n| [2485. Find the Pivot Integer](https://leetcode.com/problems/find-the-pivot-integer/) | Math | [Solution](solutions/2485_Find_the_Pivot_Integer) |\n| [933. Number of Recent Calls](https://leetcode.com/problems/number-of-recent-calls/) | Queue | [Solution](solutions/933_Number_of_Recent_Calls) |\n| [176. Second Highest Salary](https://leetcode.com/problems/second-highest-salary/) | SQL | [Solution](solutions/176_Second_Highest_Salary) |\n| [182. Duplicate Emails](https://leetcode.com/problems/duplicate-emails/description/) | SQL | [Solution](solutions/182_Duplicate_Emails) |\n| [274. H-Index](https://leetcode.com/problems/h-index/) | Sort | [Solution](solutions/274_H-Index) |\n| [969. Pancake Sorting](https://leetcode.com/problems/pancake-sorting/) | Sort | [Solution](solutions/969_Pancake_Sorting) |\n| [973. K Closest Points to Origin](https://leetcode.com/problems/k-closest-points-to-origin/) | Sort | [Solution](solutions/973_K_Closest_Points_to_Origin) |\n| [977. Squares of a Sorted Array](https://leetcode.com/problems/squares-of-a-sorted-array/) | Sort | [Solution](solutions/977_Squares_of_a_Sorted_Array) |\n| [1122. Relative Sort Array](https://leetcode.com/problems/relative-sort-array/) | Sort | [Solution](solutions/1122_Relative_Sort_Array) |\n| [1491. Average Salary Excluding the Minimum and Maximum Salary](https://leetcode.com/problems/average-salary-excluding-the-minimum-and-maximum-salary/) | Sort | [Solution](solutions/1491_Average_Salary_Excluding_the_Minimum_and_Maximum_Salary) |\n| [1528. Shuffle String](https://leetcode.com/problems/shuffle-string/) | Sort | [Solution](solutions/1528_Shuffle_String) |\n| [2545. Sort the Students by Their Kth Score](https://leetcode.com/problems/sort-the-students-by-their-kth-score/) | Sort | [Solution](solutions/2545_Sort_the_Students_by_Their_Kth_Score) |\n| [20. Valid Parentheses](https://leetcode.com/problems/valid-parentheses/) | Stack | [Solution](solutions/20_Valid_Parentheses) |\n| [155. Min Stack](https://leetcode.com/problems/min-stack/description/) | Stack | [Solution](solutions/155_Min_Stack) |\n| [1021. Remove Outermost Parentheses](https://leetcode.com/problems/remove-outermost-parentheses/) | Stack | [Solution](solutions/1021_Remove_Outermost_Parentheses) |\n| [1047. Remove All Adjacent Duplicates In String](https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string/) | Stack | [Solution](solutions/1047_Remove_All_Adjacent_Duplicates_In_String) |\n| [1441. Build an Array With Stack Operations](https://leetcode.com/problems/build-an-array-with-stack-operations/) | Stack | [Solution](solutions/1441_Build_an_Array_With_Stack_Operations) |\n| [14. Longest Common Prefix](https://leetcode.com/problems/longest-common-prefix/description/) | String | [Solution](solutions/14_Longest_Common_Prefix) |\n| [125. Valid Palindrome](https://leetcode.com/problems/valid-palindrome/) | String | [Solution](solutions/125_Valid_Palindrome) |\n| [520. Detect Capital](https://leetcode.com/problems/detect-capital/) | String | [Solution](solutions/520_Detect_Capital) |\n| [551. Student Attendance Record I](https://leetcode.com/problems/student-attendance-record-i/) | String | [Solution](solutions/551_Student_Attendance_Record_I) |\n| [709. To Lower Case](https://leetcode.com/problems/to-lower-case/) | String | [Solution](solutions/709_To_Lower_Case) |\n| [804. Unique Morse Code Words](https://leetcode.com/problems/unique-morse-code-words/description/) | String | [Solution](solutions/804_Unique_Morse_Code_Words) |\n| [821. Shortest Distance to a Character](https://leetcode.com/problems/shortest-distance-to-a-character/) | String | [Solution](solutions/821_Shortest_Distance_to_a_Character) |\n| [929. Unique Email Addresses](https://leetcode.com/problems/unique-email-addresses/) | String | [Solution](solutions/929_Unique_Email_Addresses) |\n| [1108. Defanging an IP Address](https://leetcode.com/problems/defanging-an-ip-address/) | String | [Solution](solutions/1108_Defanging_an_IP_Address) |\n| [1170. Compare Strings by Frequency of the Smallest Character](https://leetcode.com/problems/compare-strings-by-frequency-of-the-smallest-character/) | String | [Solution](solutions/1170_Compare_Strings_by_Frequency_of_the_Smallest_Character) |\n| [1436. Destination City](https://leetcode.com/problems/destination-city/) | String | [Solution](solutions/1436_Destination_City) |\n| [1496. Path Crossing](https://leetcode.com/problems/path-crossing/) | String | [Solution](solutions/1496_Path_Crossing) |\n| [1525. Number of Good Ways to Split a String](https://leetcode.com/problems/number-of-good-ways-to-split-a-string/) | String | [Solution](solutions/1525_Number_of_Good_Ways_to_Split_a_String) |\n| [1624. Largest Substring Between Two Equal Characters](https://leetcode.com/problems/largest-substring-between-two-equal-characters/) | String | [Solution](solutions/1624_Largest_Substring_Between_Two_Equal_Characters) |\n| [1704. Determine if String Halves Are Alike](https://leetcode.com/problems/determine-if-string-halves-are-alike/) | String | [Solution](solutions/1704_Determine_if_String_Halves_Are_Alike) |\n| [1768. Merge Strings Alternately](https://leetcode.com/problems/merge-strings-alternately/) | String | [Solution](solutions/1768_Merge_Strings_Alternately) |\n| [1790. Check if One String Swap Can Make Strings Equal](https://leetcode.com/problems/check-if-one-string-swap-can-make-strings-equal/) | String | [Solution](solutions/1790_Check_if_One_String_Swap_Can_Make_Strings_Equal) |\n| [1967. Number of Strings That Appear as Substrings in Word](https://leetcode.com/problems/number-of-strings-that-appear-as-substrings-in-word/) | String | [Solution](solutions/1967_Number_of_Strings_That_Appear_as_Substrings_in_Word) |\n| [2011. Final Value of Variable After Performing Operations](https://leetcode.com/problems/final-value-of-variable-after-performing-operations/) | String | [Solution](solutions/2011_Final_Value_of_Variable_After_Performing_Operations) |\n| [2546. Apply Bitwise Operations to Make Strings Equal](https://leetcode.com/problems/apply-bitwise-operations-to-make-strings-equal/) | String | [Solution](solutions/2546_Apply_Bitwise_Operations_to_Make_Strings_Equal) |\n| [94. Binary Tree Inorder Traversal](https://leetcode.com/problems/binary-tree-inorder-traversal/) | Tree | [Solution](solutions/94_Binary_Tree_Inorder_Traversal) |\n| [102. Binary Tree Level Order Traversal](https://leetcode.com/problems/binary-tree-level-order-traversal/) | Tree | [Solution](solutions/102_Binary_Tree_Level_Order_Traversal) |\n| [104. Maximum Depth of Binary Tree](https://leetcode.com/problems/maximum-depth-of-binary-tree/) | Tree | [Solution](solutions/104_Maximum_Depth_of_Binary_Tree) |\n| [111. Minimum Depth of Binary Tree](https://leetcode.com/problems/minimum-depth-of-binary-tree/) | Tree | [Solution](solutions/111_Minimum_Depth_of_Binary_Tree) |\n| [144. Binary Tree Preorder Traversal](https://leetcode.com/problems/binary-tree-preorder-traversal/) | Tree | [Solution](solutions/144_Binary_Tree_Preorder_Traversal) |\n| [145. Binary Tree Postorder Traversal](https://leetcode.com/problems/binary-tree-postorder-traversal/) | Tree | [Solution](solutions/145_Binary_Tree_Postorder_Traversal) |\n| [590. N-ary Tree Postorder Traversal](https://leetcode.com/problems/n-ary-tree-postorder-traversal/) | Tree | [Solution](solutions/590_N-ary_Tree_Postorder_Traversal) |\n| [617. Merge Two Binary Trees](https://leetcode.com/problems/merge-two-binary-trees/) | Tree | [Solution](solutions/617_Merge_Two_Binary_Trees) |\n| [637. Average of Levels in Binary Tree](https://leetcode.com/problems/average-of-levels-in-binary-tree/) | Tree | [Solution](solutions/637_Average_of_Levels_in_Binary_Tree) |\n| [700. Search in a Binary Search Tree](https://leetcode.com/problems/search-in-a-binary-search-tree/) | Tree | [Solution](solutions/700_Search_in_a_Binary_Search_Tree) |\n| [701. Insert into a Binary Search Tree](https://leetcode.com/problems/insert-into-a-binary-search-tree/) | Tree | [Solution](solutions/701_Insert_into_a_Binary_Search_Tree) |\n| [938. Range Sum of BST](https://leetcode.com/problems/range-sum-of-bst/) | Tree | [Solution](solutions/938_Range_Sum_of_BST) |\n| [965. Univalued Binary Tree](https://leetcode.com/problems/univalued-binary-tree/) | Tree | [Solution](solutions/965_Univalued_Binary_Tree) |\n| [11. Container With Most Water](https://leetcode.com/problems/container-with-most-water/) | Two Pointers | [Solution](solutions/11_Container_With_Most_Water) |\n| [26. Remove Duplicates from Sorted Array](https://leetcode.com/problems/remove-duplicates-from-sorted-array/) | Two Pointers | [Solution](solutions/26_Remove_Duplicates_from_Sorted_Array) |\n| [27. Remove Element](https://leetcode.com/problems/remove-element/) | Two Pointers | [Solution](solutions/27_Remove_Element) |\n| [88. Merge Sorted Array](https://leetcode.com/problems/merge-sorted-array/) | Two Pointers | [Solution](solutions/88_Merge_Sorted_Array) |\n| [344. Reverse String](https://leetcode.com/problems/reverse-string/) | Two Pointers | [Solution](solutions/344_Reverse_String) |\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farsho%2Fleetcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farsho%2Fleetcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farsho%2Fleetcode/lists"}