Sign Up
View All Projects
DSA Problems and Solutions
Hitesh Kumar Yadav
Software Engineer
GitHub
Launching GitHub Desktop
Git stats
Create 100. Same Tree.java
1004. Max Consecutive Ones III.java
102. Binary Tree Level Order Traversal.java
1020. Number of Enclaves.java
103. Binary Tree Zigzag Level Order Traversal.java
104. Maximum Depth of Binary Tree.java
1046. Last Stone Weight.java
1047. Remove All Adjacent Duplicates In String.java
1061. Lexicographically Smallest Equivalent String.java
1071. Greatest Common Divisor of Strings.java
1137. N-th Tribonacci Number.java
1161. Maximum Level Sum of a Binary Tree.java
1162. As Far from Land as Possible.java
118. Pascal's Triangle.java
122. Best Time to Buy and Sell Stock II.java
123. Best Time to Buy and Sell Stock III.java
1232. Check If It Is a Straight Line.java
1235. Maximum Profit in Job Scheduling.java
125. Valid Palindrome.java
1254. Number of Closed Islands.java
129. Sum Root to Leaf Numbers.java
13. Roman to Integer.java
131. Palindrome Partitioning.java
1318. Minimum Flips to Make a OR b Equal to c.java
April 9, 2023 00:08
January 7, 2023 23:54
1351. Count Negative Numbers in a Sorted Matrix.java
1353. Maximum Number of Events That Can Be Attended.java
January 2, 2023 22:43
137. Single Number II.java
1372. Longest ZigZag Path in a Binary Tree.java
August 4, 2023 23:52
1402. Reducing Dishes.java
141. Linked List Cycle.java
142. Linked List Cycle II.java
1431. Kids With the Greatest Number of Candies.java
144. Binary Tree Preorder Traversal.java
1443. Minimum Time to Collect All Apples in a Tree.java
Create 146. LRU Cache.java
1470. Shuffle the Array.java
January 9, 2023 00:00
1493. Longest Subarray of 1's After Deleting One Element.java
June 20, 2023 22:33
1502. Can Make Arithmetic Progression From Sequence.java
August 5, 2023 23:59
1514. Path with Maximum Probability.java
1519. Number of Nodes in the Sub-Tree With the Same Label.java
1523. Count Odd Numbers in an Interval Range.java
153. Find Minimum in Rotated Sorted Array.java
1539. Kth Missing Positive Number.java
1557. Minimum Number of Vertices to Reach All Nodes.java
1572. Matrix Diagonal Sum.java
1575. Count All Possible Routes.java
160. Intersection of Two Linked Lists.java
1601. Maximum Number of Achievable Transfer Requests.java
1603. Design Parking System.java
1630. Arithmetic Subarrays.java
1675. Minimize Deviation in Array.java
169. Majority Element.java
17. Letter Combinations of a Phone Number.java
1721. Swapping Nodes in a Linked List.java
1732. Find the Highest Altitude.java
1751. Maximum Number of Events That Can Be Attended II.java
1768. Merge Strings Alternately.java
1799. Maximize Score After N Operations.java
June 20, 2023 23:17
1822. Sign of the Product of an Array.java
1833. Maximum Ice Cream Bars.java
1834. Single-Threaded CPU.java
188. Best Time to Buy and Sell Stock IV.java
June 13, 2023 11:55
December 28, 2022 21:35
2. Add Two Numbers.java
20. Valid Parentheses.java
July 7, 2023 08:46
207. Course Schedule.java
209. Minimum Size Subarray Sum.java
2090. K Radius Subarray Averages.java
2101. Detonate the Maximum Bombs.java
2130. Maximum Twin Sum of a Linked List.java
2140. Solving Questions With Brainpower.java
215. Kth Largest Element in an Array.java
2187. Minimum Time to Complete Trips.java
2215. Find the Difference of Two Arrays.java
2220. Minimum Bit Flips to Convert Number.java
2244. Minimum Rounds to Complete All Tasks.java
2246. Longest Path With Different Adjacent Characters.java
225. Implement Stack using Queues.java
226. Invert Binary Tree.java
2279. Maximum Bags With Full Capacity of Rocks.java
228. Summary Ranges.java
229. Majority Element II.java
2300. Successful Pairs of Spells and Potions.java
2305. Fair Distribution of Cookies.java
2306. Naming a Company.java
2316. Count Unreachable Pairs of Nodes in an Undirected Graph.java
2328. Number of Increasing Paths in a Grid.java
2336. Smallest Number in Infinite Set.java
234. Palindrome Linked List.java
2348. Number of Zero-Filled Subarrays.java
2352. Equal Row and Column Pairs.java
March 27, 2023 01:18
2389. Longest Subsequence With Limited Sum.java
239. Sliding Window Maximum.java
2390. Removing Stars From a String.java
24. Swap Nodes in Pairs.java
240. Search a 2D Matrix II.java
2405. Optimal Partition of String.java
2439. Minimize Maximum of Array.java
2448. Minimum Cost to Make Array Equal.java
2462. Total Cost to Hire K Workers.java
2466. Count Ways To Build Good Strings.java
2492. Minimum Score of a Path Between Two Cities.java
2551. Put Marbles in Bags.java
April 27, 2023 00:50
268. Missing Number.java
279. Perfect Squares.java
287. Find the Duplicate Number.java
January 1, 2023 08:41
300. Longest Increasing Subsequence.java
31. Next Permutation.java
April 27, 2023 11:13
33. Search in Rotated Sorted Array.java
35. Search Insert Position.java
352. Data Stream as Disjoint Intervals.java
373. Find K Pairs with Smallest Sums.java
399. Evaluate Division.java
424. Longest Repeating Character Replacement.java
427. Construct Quad Tree.java
438. Find All Anagrams in a String.java
445. Add Two Numbers II.java
45. Jump Game II.java
452. Minimum Number of Arrows to Burst Balloons.java
454. 4Sum II.java
August 4, 2023 00:27
47. Permutations II.java
June 13, 2023 12:21
June 15, 2023 22:04
February 24, 2023 00:26
518. Coin Change II.java
520. Detect Capital.java
54. Spiral Matrix.java
August 18, 2023 00:19
547. Number of Provinces.java
December 26, 2022 21:13
56. Merge Intervals.java
560. Subarray Sum Equals K.java
567. Permutation in String.java
59. Spiral Matrix II.java
6. Zigzag Conversion.java
605. Can Place Flowers.java
December 31, 2022 22:18
63. Unique Paths II.java
64. Minimum Path Sum.java
February 14, 2023 23:44
680. Valid Palindrome II.java
688. Knight Probability in Chessboard.java
69. Sqrt(x).java
7. Reverse Integer.java
703. Kth Largest Element in a Stream.java
April 1, 2023 10:24
705. Design HashSet.java
706. Design HashMap.java
April 13, 2023 10:14
714. Best Time to Buy and Sell Stock with Transaction Fee.java
725. Split Linked List in Parts.java
73. Set Matrix Zeroes.java
735. Asteroid Collision.java
74. Search a 2D Matrix.java
744. Find Smallest Letter Greater Than Target.java
August 1, 2023 23:16
August 10, 2023 18:09
783. Minimum Distance Between BST Nodes.java
785. Is Graph Bipartite?.java
790. Domino and Tromino Tiling.java
797. All Paths From Source to Target.java
8. String to Integer (atoi).java
802. Find Eventual Safe States.java
844. Backspace String Compare.java
852. Peak Index in a Mountain Array.java
859. Buddy Strings.java
86. Partition List.java
863. All Nodes Distance K in Binary Tree.java
864. Shortest Path to Get All Keys.java
87. Scramble String.java
877. Stone Game.java
881. Boats to Save People.java
9. Palindrome Number.java
904. Fruit Into Baskets.java
909. Snakes and Ladders.java
918. Maximum Sum Circular Subarray.java
92. Reverse Linked List II.java
926. Flip String to Monotone Increasing.java
946. Validate Stack Sequences.java
953. Verifying an Alien Dictionary.java
956. Tallest Billboard.java
958. Check Completeness of a Binary Tree.java
974. Subarray Sums Divisible by K.java
980. Unique Paths III.java
983. Minimum Cost For Tickets.java
February 15, 2023 23:08
997. Find the Town Judge.java
Add 1 to a number represented as linked list.java
Best Time to Buy and Sell Stock with Cooldown.java
Best Time to Buy and Sell Stock.java
Binary Numbers.java
Binary Tree Inorder Traversal.java
Binary Tree Maximum Path Sum.java
December 17, 2022 14:09
Calculate XOR.java
Chocolate Distribution Problem.java
Climbing Stairs.java
Contains Duplicate.java
November 30, 2022 13:56
Daily Temperatures.java
Delete Node in a Linked List.java
August 25, 2023 12:00
September 29, 2022 19:56
Delete without head pointer.java
Detect Loop in linked list.java
Detect cycle in a directed graph.java
Detect cycle in an undirected graph.java
Evaluate Reverse Polish Notation.java
Fibonacci Number.java
Find if Path Exists in Graph.java
Find the Safe Position.java
Flattening a Linked List.java
Fractional Knapsac.java
Geek and Number String.java
Get Maze Path With Jumps.java
Get Maze Paths.java
Rename Get Stair Paths to Get Stair Paths.java
Get Subsequence.java
December 5, 2022 20:34
House Robber.java
Huffman Encoding.java
IPL 2021 - Match Day 2.java
Implement Queue using Stacks.java
Implementing Dijkstra Algorithm.java
December 7, 2022 12:07
Intersection of Two Arrays II.java
Intersection of two sorted Linked lists.java
December 28, 2022 11:14
Keys and Rooms.java
LCM And GCD.java
August 18, 2023 15:36
Leaf-Similar Trees.java
Level order traversal in spiral form.java
Longest Common Subsequence.java
Longest Subarray With Sum K(only positives).java
Longest Subarray With Sum K.java
Maximum Difference Between Node and Ancestor.java
Maximum Product of Splitted Binary Tree.java
Maximum Subarray.java
Merge Sort.java
Merge Sorted Array.java
Merge Two Sorted Lists.java
Merge Without Extra Space.java
Minimum Cost of ropes.java
Minimum Falling Path Sum.java
Minimum element in BST.java
December 3, 2022 18:39
Number of Coins.java
Odd Even Linked List.java
Pairwise swap elements of a linked list.java
Path Sum.java
Permutations of a given string.java
Possible Bipartition.java
Power Of Numbers.java
Print Maze Paths.java
Print Stair Paths.java
Print Subsequence.java
Quick Sort.java
Range Sum of BST.java
Remove Nth Node From End of List.java
Remove duplicates from an unsorted linked list.java
Reverse a Doubly Linked List.java
Reverse a linked list.java
August 5, 2023 23:34
Search Insert Position.java
Search a node in BST.java
Second Largest.java
Shop in Candy Store.java
Shortest path in Undirected Graph having unit distance.java
Stack Using Deque.java
Subarray with 0 sum.java
Subset Sum.java
Sum of Distances in Tree.java
Tom and Jerry.java
Topological sort.java
Tower Of Hanoi(GFG).java
Tower Of Hanoi(Pep Coding).java
Tree Inorder Traversal.java
Two Sum.java
Valid Parentheses.java
Validate Binary Search Tree.java
Ways To Tile A Floor.java
printKPC.java
Partner With Hitesh Kumar
View Services
More Projects by Hitesh Kumar
WhatsApp Clone
eMart Flutter App
How it Works
Contra For Independents
Contra For Hiring
Success Stories
Commission-Free
Company
Mission
Careers
Newsroom
Resources
FAQ
Tips & Guides
Hire
Support
Dіscover Freelancers
Design
Engineering
Marketing
Music & Audio
Social Media
Video & Animation
Writing
Drops
Freelance Industry Report
Social
Terms & Conditions
Privacy Policy
Cookie Policy
© 2024 Contra.Work Inc All Rights Reserved.