Skip to content
/ learning Public

Leetcode solutions, contests and some other algorithm-related stuff

Notifications You must be signed in to change notification settings

fspv/learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grind tracking

This is the repo where I store every solved problem I encountered during my CS learning process. It has hundreds of solved leetcode tasks as well as tasks from some online competitions. You'll find the list below. Also there are some implemented algorithms from CLRS.

AdventOfCode

Task Solution
2021 Day 1 Part 1 Python Part 2 Python
2022 Day 1 Part 1 Golang Part 2 Golang
2022 Day 2 Part 1 Golang Part 2 Golang
2022 Day 4 Python
2022 Day 5 Python
2022 Day 6 Golang
2022 Day 7 Golang
2022 Day 8 Golang

BinarySearch

Task Solution
Nearest Bus Stop From a House Python
Non-Adjacent Combination Sum Python
Sublist with Largest Min-Length Product Python
Smallest Number With No Adjacent Duplicates Python

Google Codejam

Task Solution
Qualification Round 2020: Vestigium Python
Qualification Round 2020: Nesting Depth Python
Qualification Round 2020: Parenting Partnering Returns Python
Qualification Round 2020: ESAb ATAd Python
Qualification Round 2020: Indicium Python
Round 1B: 2020: Expogo Python
Qualification Round 2020: Punched Cards Python

Facebook Hacker Cup

Task Solution
Qualification Round 2020: Travel Restrictions Python
Qualification Round 2020: Alchemy Python
Qualification Round 2020: Timber Python
Qualification Round 2020: Running on Fumes - Chapter 1 Python
Qualification Round 2020: Running on Fumes - Chapter 2 Python

CLRS

Pramp

Hackerrank

Task Solution
2D Array - DS Python
Climbing the Leaderboard Python
Counting Valleys Python
Arrays: Left Rotation Python
Sorting: Bubble Sort Python
Merge Sort Python
Jumping on the Clouds Python
Forming a Magic Square Python
Repeated String Python
Sales by Match Python

C++ (Yandex course on coursera)

Desing patterns

Yandex mentor qualification competition

Отборочное задание для наставников курса "Алгоритмы для разработчиков"

Task Solution
A. Палиндромная конкатенация Python Golang
B. Расстановка скобок Python Golang
C. Путь по компонентам Python Golang

Codeforces

Task Solution
103715: A Python
103715: B Python
103715: C Python
103715: D Python

Presentations (drafts)

Leetcode

Task Solution
Reorganize String Python Golang
Sequence Reconstruction Python
Reduce Array Size to The Half Python
Maximum Repeating Substring Python
Distribute Repeating Integers Python
Best Time to Buy and Sell Stock with Cooldown Python
Pairs of Songs With Total Durations Divisible by 60 Python
4Sum II Python
Partition Array for Maximum Sum Python
K-th Symbol in Grammar Python
Detect Capital Python
3Sum With Multiplicity Python
Insert Delete GetRandom O(1) - Duplicates allowed Python
Construct K Palindrome Strings Python
Mean of Array After Removing Some Elements Python
Verifying an Alien Dictionary Python
Add Bold Tag in String Python
Counting Bits Python
Rabbits in Forest Golang
Reordered Power of 2 Python
Vowel Spellchecker Python
Count and Say Python
Occurrences After Bigram Python
Evaluate Division Python
Element Appearing More Than 25% In Sorted Array Python
Number of Recent Calls Python
Largest Divisible Subset Python
Number of Sets of K Non-Overlapping Line Segments Python
Candy Python
Contiguous Array Python
Remove Linked List Elements Python
Search in Rotated Sorted Array II Python Golang
Best Time to Buy and Sell Stock II Python
The Most Similar Path in a Graph Python
Stone Game Python
Cheapest Flights Within K Stops Python
Maximum Product of Splitted Binary Tree Python
Remove Nth Node From End of List Python
Longest Arithmetic Subsequence Python
Longest Palindromic Subsequence Python
Tiling a Rectangle with the Fewest Squares Python
Minimum Cost Tree From Leaf Values Python
Number of Connected Components in an Undirected Graph Python Golang
Sliding Window Maximum Python
Dota2 Senate Python
Count of Range Sum Python
Letter Tile Possibilities Python
Reconstruct Itinerary Python
Maximum Length of Repeated Subarray Python
Sequential Digits Python
Nested List Weight Sum Python
Find a Corresponding Node of a Binary Tree in a Clone of That Tree Python
Online Stock Span Python Golang
Minimum Depth of Binary Tree Python
Strong Password Checker Python
Number Complement Golang
Palindrome Partitioning II Python
Contains Duplicate III Python
3Sum Python
Maximize Distance to Closest Person Python
Binary Search Tree Iterator Python
Reverse Words in a String Python
Minimum Value to Get Positive Step by Step Sum Python
Circle and Rectangle Overlapping Python
Synonymous Sentences Python
4 Keys Keyboard Python
The Maze II Python
Check If a String Contains All Binary Codes of Size K Python
Best Sightseeing Pair Python
First Bad Version Python
Reveal Cards In Increasing Order Python
Moving Average from Data Stream Python
String to Integer (atoi) Python
Backspace String Compare Python
Invert Binary Tree Python Golang
To Lower Case Python
Number of Distinct Islands II Python
Divide Two Integers Python
Subarray Product Less Than K Python
N-Queens Python Golang
Asteroid Collision Python
Keys and Rooms Python Golang
Advantage Shuffle Python
Average Waiting Time Python
Pacific Atlantic Water Flow Python
Get Maximum in Generated Array Python
Maximum Gap Python
Valid Parentheses Python
All Paths From Source to Target Python Golang
Coordinate With Maximum Network Quality Python
Diagonal Traverse Python
Binary Search Python
Determine if Two Strings Are Close Python Golang
3Sum Closest Python
Next Greater Node In Linked List Python
Sqrt(x) Python
4Sum Python
Reach a Number Python
Best Time to Buy and Sell Stock with Transaction Fee Python
Swapping Nodes in a Linked List Python
Maximum Sum BST in Binary Tree Python
Valid Boomerang Python
Sum of Distances in Tree Python
Check Completeness of a Binary Tree Python
Combinations Python
Array Nesting Python
Combination Sum III Python
Longest Palindrome Python
Linked List Cycle II Python
String Transforms Into Another String Python
Single Number Python
Generate Parentheses Python Golang
Distribute Candies Python
Word Pattern Python
Design Search Autocomplete System Python
Median of Two Sorted Arrays Python
Paint House II Python
Find And Replace in String Python
Summary Ranges Python
Implement strStr() Python
Tallest Billboard Python
Length of Longest Fibonacci Subsequence Python
Valid Palindrome II Python
Beautiful Arrangement Python
Flood Fill Python
Maximum Binary String After Change Python
Sum Root to Leaf Numbers Python
Create Sorted Array through Instructions Python
Odd Even Jump Python
Largest Number Python
Reverse String II Python
Peak Index in a Mountain Array Python
Longest Increasing Path in a Matrix Python
Minimum Height Trees Python
Sort Integers by The Power Value Python
Numbers At Most N Given Digit Set Python
Filling Bookcase Shelves Python
Minimum Domino Rotations For Equal Row Python
Minimum ASCII Delete Sum for Two Strings Python
Consecutive Numbers Sum Python
Binary Tree Zigzag Level Order Traversal Python
Sudoku Solver Python
Moving Stones Until Consecutive II Python
Longest Duplicate Substring Python
Product of Array Except Self Python
Minimum Falling Path Sum Python
Valid Palindrome Python
Longest Happy String Python
One Edit Distance Python
Minimum Window Substring Python
Longest ZigZag Path in a Binary Tree Python
Longest Arithmetic Subsequence of Given Difference Python
Squirrel Simulation Python
Random Point in Non-overlapping Rectangles Python
Compare Version Numbers Python
Longest Harmonious Subsequence Python
N-Queens II Golang
Search a 2D Matrix Python
Roman to Integer Python
Reverse Words in a String II Python
Closest Binary Search Tree Value Python
Longest Common Subsequence Python
Can Convert String in K Moves Python
Vertical Order Traversal of a Binary Tree Python
Path With Maximum Minimum Value Python
Populating Next Right Pointers in Each Node Python
Minimum Difficulty of a Job Schedule Python
Concatenation of Consecutive Binary Numbers Python
Minimum Cost For Tickets Python
Fancy Sequence Python
Robot Room Cleaner Python
Guess Number Higher or Lower Python
Count of Smaller Numbers After Self Python
Longest Increasing Subsequence Python
Shortest Word Distance Python
Toeplitz Matrix Python
Rotate List Python
Swap Nodes in Pairs Python
Insert Delete GetRandom O(1) Python
Smallest Common Region Python
Minimum Cost to Hire K Workers Python
Unique Morse Code Words Python
Find Median from Data Stream Python
Copy List with Random Pointer Python
Generate Random Point in a Circle Python
Maximum Average Subarray II Python
Count Number of Teams Golang
Broken Calculator Python
Koko Eating Bananas Python
Word Subsets Python
Critical Connections in a Network Python
Add Two Numbers II Python
Lowest Common Ancestor of a Binary Tree Python
Pascal's Triangle II Python
Walking Robot Simulation Python
First Unique Number Python
Ransom Note Golang
Maximum Number of Balloons Python
Encode Number Python
K-Concatenation Maximum Sum Python
Leftmost Column with at Least a One Python
Insert Interval Python
Queue Reconstruction by Height Python Golang
Find in Mountain Array Python
Rotate Image Python
Stone Game II Python
Missing Number Python
Add Two Numbers Python
Buddy Strings Python
Minesweeper Python
Redundant Connection II Python
Best Time to Buy and Sell Stock IV Python
Flatten Nested List Iterator Python
Squares of a Sorted Array Python
Leaf-Similar Trees Python Golang
Plus One Python Golang
Distinct Subsequences Python
Parallel Courses II Python
Set Matrix Zeroes Python
Majority Element Golang
Unique Paths Python
Find All Anagrams in a String Golang
H-Index II Golang
Number of Islands Python
Fibonacci Number Python
Design Underground System Python
Sum of Root To Leaf Binary Numbers Python
Validate IP Address Python
Possible Bipartition Python Golang
Insertion Sort List Python Golang
Minimum Path Sum Python
Camelcase Matching Python
Sort List Python
Range Sum of BST Python
Split Array Largest Sum Python
Insert into a Binary Search Tree Python
Boats to Save People Python
Circular Array Loop Python
Find Right Interval Python
Single Number III Python
Word Squares Python
Intersection of Two Linked Lists Python
Balanced Binary Tree Python
Binary Tree Vertical Order Traversal Python
Time Needed to Inform All Employees Python
Print Immutable Linked List in Reverse Python Golang
Maximum Length of Pair Chain Python
Find Minimum in Rotated Sorted Array II Python
Remove Element Python
Two Sum III - Data structure design Python
Flatten a Multilevel Doubly Linked List Python
Minimum Swaps to Group All 1's Together Python
Single Number II Python
Stream of Characters Python
Maximum Points You Can Obtain from Cards Python
Maximum Difference Between Node and Ancestor Python
Decode Ways II Python
Binary Tree Coloring Game Python
Pow(x, n) Python Golang
Kth Missing Positive Number Python
Maximum Level Sum of a Binary Tree Python
Count Complete Tree Nodes Python
Rotting Oranges Python
Simplify Path Python
Search in a Binary Search Tree Python
Reverse Nodes in k-Group Python
Longest Turbulent Subarray Python
Thousand Separator Python
Maximum Binary Tree Python
Remove Outermost Parentheses Python
House Robber III Python
Remove Duplicates from Sorted List Python
Repeated Substring Pattern Python
Find Elements in a Contaminated Binary Tree Python
Substring with Concatenation of All Words Python
Trim a Binary Search Tree Python
Count Servers that Communicate Python
Running Sum of 1d Array Python
Pascal's Triangle Python
Kth Largest Element in an Array Python
Interleaving String Python
Find Minimum in Rotated Sorted Array Python
The K Weakest Rows in a Matrix Python
Find Nearest Right Node in Binary Tree Python
Min Stack Python
Partition Equal Subset Sum Python
Binary Search Tree to Greater Sum Tree Python
Make Array Strictly Increasing Python
Find Peak Element Python
Campus Bikes Python
Check If All 1's Are at Least Length K Places Away Python
Palindrome Pairs Python
Shortest Way to Form String Python
Surrounded Regions Python
Recover Binary Search Tree Python
Count Numbers with Unique Digits Python
Peeking Iterator Python
Two Sum Less Than K Python
Serialize and Deserialize Binary Tree Python
Maximum Distance in Arrays Python
Sort Characters By Frequency Python
Integer to English Words Python
Design Circular Queue Python
Find Duplicate Subtrees Python
Find K Closest Elements Python
Longest Substring Without Repeating Characters Python
Combination Sum Python
Student Attendance Record I Python
Burst Balloons Python
Accounts Merge Python
Shortest Distance from All Buildings Python
The Maze Python
Find Mode in Binary Search Tree Python
Path Sum IV Golang
Longest Absolute File Path Python
Isomorphic Strings Python
Remove Duplicate Letters Python
Scramble String Python
Network Delay Time Python
Valid Palindrome III Python
Minimize Deviation in Array Python
Power of Two Golang
Meeting Rooms Python
Can Place Flowers Python
Mirror Reflection Python
Triangle Python
Detect Cycles in 2D Grid Python
Brace Expansion Python
All Paths from Source Lead to Destination Python
Find Root of N-Ary Tree Python
Similar String Groups Python
Merge k Sorted Lists Python
Longest Mountain in Array Python
Palindrome Number Python
Score of Parentheses Python
Student Attendance Record II Python
Binary Tree Pruning Golang
Find Leaves of Binary Tree Python
Lowest Common Ancestor of a Binary Search Tree Python
Construct Binary Tree from String Python
Largest Sum of Averages Python
Largest Plus Sign Python
Number of Good Ways to Split a String Python
Robot Bounded In Circle Python
Predict the Winner Python
Design Phone Directory Python
Trapping Rain Water Python
Serialize and Deserialize BST Python
Subarray Sum Equals K Python
Longest Palindromic Substring Python Golang
Frog Jump Python
Subsets Python Golang
Daily Temperatures Python
Defuse the Bomb Python
Combination Sum IV Python
Divisor Game Python
Range Sum Query 2D - Mutable Python
Remove K Digits Python Golang
Increasing Triplet Subsequence Python
Exam Room Python
Smallest Sufficient Team Python
Paint Fence Python
Single Element in a Sorted Array Python
Word Ladder II Python
Flower Planting With No Adjacent Python
Length of Last Word Python
Linked List Random Node Python
Remove Duplicates from Sorted Array II Python
Coin Change Python
Read N Characters Given Read4 Python
Non-decreasing Array Python
Champagne Tower Python
Jewels and Stones Python
Find and Replace Pattern Golang
Sliding Window Median Python
Course Schedule II Python
Maximum Product of Three Numbers Python
Permutation in String Python
Find K Pairs with Smallest Sums Python
Convert BST to Greater Tree Python
Power of Four Golang
Valid Mountain Array Python
Smallest Range II Python
Uncrossed Lines Python
Path With Minimum Effort Python
Prison Cells After N Days Python
Set Mismatch Python
Permutation Sequence Python
Top K Frequent Words Python
Minimum Score Triangulation of Polygon Python
Reverse Linked List Python
Jump Game IV Python
Subarray Sums Divisible by K Python
House Robber II Python
Find Two Non-overlapping Sub-arrays Each With Target Sum Python
Longest Valid Parentheses Python
Complement of Base 10 Integer Python
Count Square Submatrices with All Ones Golang
Spiral Matrix Python
Shortest Unsorted Continuous Subarray Python
Reverse String Python
Grumpy Bookstore Owner Python
Clumsy Factorial Python
License Key Formatting Python
Inorder Successor in BST II Python
Minimum Number of Removals to Make Mountain Array Python
Number of Steps to Reduce a Number to Zero Python
Is Subsequence Golang
Populating Next Right Pointers in Each Node II Python
Short Encoding of Words Python
Find Longest Awesome Substring Python
132 Pattern Python
Decode String Python
N-Repeated Element in Size 2N Array Python
Dot Product of Two Sparse Vectors Python
Palindrome Partitioning Python
Minimum Number of Arrows to Burst Balloons Python
Battleships in a Board Golang
First Missing Positive Python
Island Perimeter Python
Hamming Distance Python
Encode and Decode TinyURL Python
Score After Flipping Matrix Python Golang
Sort Array by Increasing Frequency Python
Maximum Depth of Binary Tree Python
Count Sorted Vowel Strings Python
Word Ladder Python
Flipping an Image Python
Paint House Golang
Gas Station Python
Design Browser History Python
Print Binary Tree Python
Unique Binary Search Trees Python Golang
Remove Covered Intervals Python
Sentence Screen Fitting Python
Minimum Window Subsequence Python
Palindromic Substrings Python
Remove Interval Python
Pseudo-Palindromic Paths in a Binary Tree Python
Word Search II Python
Knight Probability in Chessboard Python
Fizz Buzz Python
Graph Valid Tree Python
Maximum Average Subtree Python
Range Sum Query - Immutable Python
Check If Two String Arrays are Equivalent Python
Integer to Roman Python
Binary Prefix Divisible By 5 Python
Inorder Successor in BST Python
Couples Holding Hands Python
Consecutive Characters Python
Minimum Adjacent Swaps for K Consecutive Ones Python
Longest Repeating Substring Python
Unique Paths II Python
Best Meeting Point Python
Angle Between Hands of a Clock Python
Binary Tree Level Order Traversal Python
Poor Pigs Python
Split Linked List in Parts Python
Distribute Coins in Binary Tree Python
Delete Node in a BST Python
Ones and Zeroes Python
Add Digits Python
Design Hit Counter Python
Path Sum Python
Minimum Moves to Equal Array Elements II Python
Previous Permutation With One Swap Python
Remove Duplicates from Sorted Array Python
Design Front Middle Back Queue Python
Balance a Binary Search Tree Python
Search a 2D Matrix II Python
Combination Sum II Python
Text Justification Python
Encode and Decode Strings Python
Add Binary Python
Find the Town Judge Golang
Binary Tree Maximum Path Sum Python
Unique Binary Search Trees II Python
Cousins in Binary Tree Golang
Sort Array By Parity II Python
House Robber Python
01 Matrix Python
Video Stitching Python
Matrix Block Sum Python
24 Game Python
Bag of Tokens Python
Majority Element II Python
Increasing Order Search Tree Python
Minimum Numbers of Function Calls to Make Target Array Python
Count Submatrices With All Ones Python
Ambiguous Coordinates Python
First Unique Character in a String Golang
Strobogrammatic Number Python
Slowest Key Python
Bitwise ORs of Subarrays Python
Evaluate Reverse Polish Notation Python Golang
Maximum Subarray Python
Repeated DNA Sequences Python
Two City Scheduling Python
Permutations II Python
Integer Break Python
Merge Two Sorted Lists Python
Partition to K Equal Sum Subsets Python
Reverse Linked List II Python
Maximum Frequency Stack Python
Sort Array By Parity Python
Dice Roll Simulation Python
Palindrome Permutation Python
Check If It Is a Straight Line Golang
LFU Cache Python
Max Consecutive Ones III Python
LRU Cache Python
Image Overlap Python
Group the People Given the Group Size They Belong To Golang
Design In-Memory File System Python
Knight Dialer Python
Number Of Corner Rectangles Python
Walls and Gates Python
Range Addition Python
Height Checker Python
Longest Substring with At Most Two Distinct Characters Python
Guess the Word Python
Jump Game II Python
Design Parking System Python
Maximal Square Python
Pancake Sorting Python
Valid Anagram Python
Valid Triangle Number Python
Range Sum Query - Mutable Python
Last Stone Weight II Python
Min Cost to Connect All Points Python
Partition Array Into Three Parts With Equal Sum Python
Delete Node in a Linked List Golang
Subdomain Visit Count Python
Permutations Python
Numbers With Same Consecutive Differences Python
Partition Labels Python Golang
Binary Tree Preorder Traversal Python
Task Scheduler Python
Encode N-ary Tree to Binary Tree Python
Maximum Sum Circular Subarray Golang
Is Graph Bipartite? Python
Jump Game Python Golang
Excel Sheet Column Number Python
Regions Cut By Slashes Python
Can I Win Python
Alien Dictionary Python
Number of Islands II Python
Meeting Rooms II Python
Iterator for Combination Python
Minimum Difference Between Largest and Smallest Value in Three Moves Python
Merge Sorted Array Python
Bulls and Cows Python
Continuous Subarray Sum Python
Construct Binary Tree from Inorder and Postorder Traversal Python
Binary Tree Right Side View Python
Min Cost Climbing Stairs Python
ZigZag Conversion Python
Reformat Date Python
Find K-Length Substrings With No Repeated Characters Python
Number of 1 Bits Python
Wiggle Sort Python
Gray Code Python
Wiggle Subsequence Python
Count Substrings That Differ by One Character Python
Campus Bikes II Python
Maximum Performance of a Team Python
Reorder List Python
Minimize Max Distance to Gas Station Python
Maximal Rectangle Python
2 Keys Keyboard Python
Remove Palindromic Subsequences Python
Arithmetic Slices Python
Sort Items by Groups Respecting Dependencies Python
Range Sum of Sorted Subarray Sums Python
Bitwise AND of Numbers Range Python
Maximum XOR of Two Numbers in an Array Python
Linked List Cycle Python
Increasing Decreasing String Python
Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree Python
Longest Substring with At Least K Repeating Characters Python
Shortest Word Distance II Python
Check Array Formation Through Concatenation Python
Valid Perfect Square Python
Toss Strange Coins Python
Longest Common Prefix Python
Maximum Number of Vowels in a Substring of Given Length Python
Interval List Intersections Python
Goat Latin Python
Construct Binary Search Tree from Preorder Traversal Python
Longest Substring with At Most K Distinct Characters Python
Flip Equivalent Binary Trees Python
Smallest Integer Divisible by K Python
Find All Duplicates in an Array Golang
Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree Python
Number of Enclaves Python
Middle of the Linked List Python Golang
Number of Longest Increasing Subsequence Python
Longest Happy Prefix Python
Find the Most Competitive Subsequence Python
Word Break Python
Car Fleet Python
Arranging Coins Python
Teemo Attacking Python
Ugly Number II Python
Number of Sub-arrays With Odd Sum Python
Validate Binary Search Tree Python
Random Pick with Weight Python
Missing Ranges Python
Last Stone Weight Python
Next Permutation Python
Maximum Length of a Concatenated String with Unique Characters Python
Binary String With Substrings Representing 1 To N Python
Minimum Cost to Move Chips to The Same Position Python
Basic Calculator Python
Flatten Binary Tree to Linked List Python
Multiply Strings Python
Wildcard Matching Python
Minimum Jumps to Reach Home Python
Max Points on a Line Python
Target Sum Python Golang
Minimum Number of Increments on Subarrays to Form a Target Array Python
Sum of Left Leaves Python
Binary Tree Tilt Python
Distribute Candies to People Python
Perform String Shifts Python
Largest Time for Given Digits Python
Max Number of K-Sum Pairs Python
Find Common Characters Python
Decoded String at Index Python
Minimum Number of Vertices to Reach All Nodes Python
All Elements in Two Binary Search Trees Python
Swap For Longest Repeated Character Substring Python
Diameter of Binary Tree Python
Linked List in Binary Tree Python
Delete Tree Nodes Python
Search Insert Position Python Golang
Binary Tree Inorder Traversal Python
Insert into a Sorted Circular Linked List Python
The Skyline Problem Python
Find Smallest Common Element in All Rows Python
Total Hamming Distance Python
Plus One Linked List Python C++
Valid Sudoku Python
Find the Celebrity Python
Delete Columns to Make Sorted Python
Best Time to Buy and Sell Stock Python
Single-Row Keyboard Python Golang
Minimum Falling Path Sum II Python
Search in a Sorted Array of Unknown Size Python
Next Greater Element III Python
Minimum Remove to Make Valid Parentheses Python
Implement Trie (Prefix Tree) Python
Game of Life Python
Minimum Operations to Reduce X to Zero Python
Valid Square Python
Two Sum II - Input array is sorted Python
Word Search Python Golang
Convert Binary Number in a Linked List to Integer Python
Valid Parenthesis String Python
Insufficient Nodes in Root to Leaf Paths Python
Letter Combinations of a Phone Number Python
Clone Graph Python
Max Increase to Keep City Skyline Python
Number of Squareful Arrays Python
Implement Rand10() Using Rand7() Python
Cherry Pickup II Python
Course Schedule Python
Find the Smallest Divisor Given a Threshold Python
Deepest Leaves Sum Golang
Second Minimum Node In a Binary Tree Python
Minimum Add to Make Parentheses Valid Python
Maximize Sum Of Array After K Negations Python
Two Sum IV - Input is a BST Python
Count Odd Numbers in an Interval Range Python
The kth Factor of n Python
Spiral Matrix II Python
Zigzag Iterator Python
Reverse Bits Python
Shortest Palindrome Python
Non-overlapping Intervals Python
Design an Expression Tree With Evaluate Function Python
Minimum Swaps To Make Sequences Increasing Python Golang
Open the Lock Python
Binary Tree Postorder Traversal Python
Output Contest Matches Golang
Coin Change 2 Golang
Coin Change II Python
Happy Number Python
Symmetric Tree Python
Alert Using Same Key-Card Three or More Times in a One Hour Period Python
Design HashSet Python
Number of Students Unable to Eat Lunch Python
Sort the Matrix Diagonally Python
Dungeon Game Python
Greatest Sum Divisible by Three Python
Remove All Adjacent Duplicates In String Python
Airplane Seat Assignment Probability Python
Widest Vertical Area Between Two Points Containing No Points Python
Arithmetic Slices II - Subsequence Python
Add One Row to Tree Python
Decode Ways Python
Find the Duplicate Number Golang
Container With Most Water Python
Best Time to Buy and Sell Stock III Python
Largest Rectangle in Histogram Python
Find the Longest Substring Containing Vowels in Even Counts Python
Design Add and Search Words Data Structure Python
Minimum Deletions to Make String Balanced Python
Android Unlock Patterns Python
Domino and Tromino Tiling Python
Push Dominoes Python
Minimum Insertions to Balance a Parentheses String Python
Basic Calculator II Python
Meeting Scheduler Python
Kth Smallest Element in a BST Python
Same Tree Python Golang
Number of Ways to Form a Target String Given a Dictionary Python
Maximum Profit in Job Scheduling Python
Longest Subarray of 1's After Deleting One Element Python
Partition List Python
Last Substring in Lexicographical Order Python
Regular Expression Matching Python
Range Sum Query 2D - Immutable Python
Path Sum III Python
Remove Duplicates from Sorted List II Python
Climbing Stairs Python
Fruit Into Baskets Python
Maximum Width of Binary Tree Python Golang
Find the Difference Python
Pizza With 3n Slices Python
Top K Frequent Elements Python
Number of Distinct Islands Python
Stone Game IV Python
Heaters Python
K Closest Points to Origin Python
Perfect Squares Python
Longest Line of Consecutive One in Matrix Python
Count Largest Group Python
Shopping Offers Python
Jump Game III Python
Average of Levels in Binary Tree Python
Maximum Product Subarray Python
Longest String Chain Python
Reaching Points Python
H-Index Python
K-diff Pairs in an Array Python
Find Permutation Python
Find First and Last Position of Element in Sorted Array Python
Group Anagrams Python
Word Break II Python
Two Sum Python
Number of Students Doing Homework at a Given Time Python
Shortest Distance to a Character Python
Merge Intervals Python
Car Pooling Python
Letter Case Permutation Python
Find the Minimum Number of Fibonacci Numbers Whose Sum Is K Python
Move Zeroes Python
Binary Tree Level Order Traversal II Python
Unique Email Addresses Python
Sort Colors Python
Logger Rate Limiter Python
Read N Characters Given Read4 II - Call multiple times Python
Sum of Nodes with Even-Valued Grandparent Golang
Hexspeak Python
Odd Even Linked List Golang
Smallest Subtree with all the Deepest Nodes Python
Shortest Path in Binary Matrix Python
Rotate Array Python
Longest Consecutive Sequence Python
Capacity To Ship Packages Within D Days Python Golang
Number of Dice Rolls With Target Sum Python
Unique Paths III Python
Monotonic Array Python
Edit Distance Python
Search in Rotated Sorted Array Python Golang
Delete Nodes And Return Forest Python
Kill Process Python
N-th Tribonacci Number Python
Shortest Path in a Grid with Obstacles Elimination Python
Making A Large Island Python
Check If It Is a Good Array Python
Lowest Common Ancestor of Deepest Leaves Python
Jump Game VI Python
Next Greater Element I Python
Kth Ancestor of a Tree Node Python
Buildings With an Ocean View Python
Divide Chocolate Python
Number of Valid Words for Each Puzzle Python
Kth Smallest Number in Multiplication Table Python
Employee Free Time Python
Richest Customer Wealth Python
Longest Repeating Character Replacement Python
Count Sub Islands Python
Sort an Array Python
Number of Ways to Split a String Python
Maximum White Tiles Covered by a Carpet Python
Evaluate the Bracket Pairs of a String Python
Valid Number Python
Sequentially Ordinal Rank Tracker Python
Recyclable and Low Fat Products SQL
Managers with at Least 5 Direct Reports SQL
Count of Range Sum Python
Expression Add Operators Python
Best Position for a Service Centre Python
Subsets II Python
Restore IP Addresses Python
Count Ways to Make Array With Product Python
Add to Array-Form of Integer Python
Redundant Connection Python
Subarray With Elements Greater Than Varying Threshold Python
Number of Ways to Buy Pens and Pencils Python
Closest Binary Search Tree Value II Python
Split Array into Consecutive Subsequences Python
Minimum Number of Refueling Stops Python
Binary Tree Longest Consecutive Sequence II Python
Maximum Length of Subarray With Positive Product Python
Finding the Number of Visible Mountains Python
Minimum Replacements to Sort the Array Python
Count Number of Bad Pairs Python
Closest Node to Path in Tree Python
Move Pieces to Obtain a String Python
Count Integers in Intervals Python
Count Good Nodes in Binary Tree Python
Minimum Flips in Binary Tree to Get Result Python
Design Video Sharing Platform Python
Construct String from Binary Tree Python
Earliest Possible Day of Full Bloom Golang
Repeated String Match Python
The Maze III Python
Design Excel Sum Formula Python
Find Players With Zero or One Losses Golang
Unique Number of Occurrences Golang
Determine if String Halves Are Alike Golang
Minimum Average Difference Golang
Implement Queue using Stacks Golang
Find if Path Exists in Graph Golang
Maximum Bags With Full Capacity of Rocks Golang
Remove Stones to Minimize the Total Python
All Possible Full Binary Trees Python
Minimum Speed to Arrive on Time Python
Soup Servings Python
Maximum Running Time of N Computers Python
Strange Printer Python
Number of Music Playlists Python
Minimize the Maximum Difference of Pairs Python Rust
Check if There is a Valid Partition For The Array Python
Maximal Network Rank Python
Excel Sheet Column Title Python
Implement Stack using Queues Python
Minimum Penalty for a Shop Python
Minimum Number of Taps to Open to Water a Garden Python
Extra Characters in a String Python
Count All Valid Pickup and Delivery Options Python
Minimum Deletions to Make Character Frequencies Unique Python
Shortest Path Visiting All Nodes Python
Reverse Words in a String III Python
Remove Colored Pieces if Both Neighbors are the Same Color Python
Number of Good Pairs Python
Max Dot Product of Two Subsequences Python
Minimum Number of Operations to Make Array Continuous Python
Number of Flowers in Full Bloom Python
Painting the Walls Python
Number of Ways to Stay in the Same Place After Some Steps Python
Validate Binary Tree Nodes Python
Parallel Courses III Python
Constrained Subsequence Sum Python
Maximum Score of a Good Subarray Python
Binary Trees With Factors Python
Count Vowels Permutation Python
Sort Integers by The Number of 1 Bits Python
Find The Original Array of Prefix Xor Python
Count Nodes Equal to Average of Subtree Python
Build an Array With Stack Operations Python
Last Moment Before All Ants Fall Out of a Plank Python
Find the Winner of an Array Game Python
Seat Reservation Manager Python
Eliminate Maximum Number of Monsters Python
Count Number of Homogenous Substrings Python
Determine if a Cell Is Reachable at a Given Time Python
Restore the Array From Adjacent Pairs Python
Design Graph With Shortest Path Calculator Python
Bus Routes Python
Unique Length-3 Palindromic Subsequences Python
Reduction Operations to Make the Array Elements Equal Python
Count Nice Pairs in an Array Python
Diagonal Traverse II Python
Arithmetic Subarrays Python
Maximum Number of Coins You Can Get Python
Sum of Absolute Differences in a Sorted Array Python
Largest Submatrix With Rearrangements Python
Number of Ways to Divide a Long Corridor Python
Minimum Number of Operations to Make Array Empty Python