qeeqez / leetcode

Solutions for leetcode problems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Leetcode Java solutions

LeetCode user qeeqez

Made by qeeqez

List of completed:

Easy

1. Two Sum
9. Palindrome Number
13. Roman to Integer
14. Longest Common Prefix
20. Valid Parentheses
21. Merge Two Sorted Lists
26. Remove Duplicates from Sorted Array
27. Remove Element 35. Search Insert Position
67. Add Binary 69. Sqrt(x)
70. Climbing Stairs 83. Remove Duplicates from Sorted List
88. Merge Sorted Array
94. Binary Tree Inorder Traversal
101. Symmetric Tree
104. Maximum Depth of Binary Tree
112. Path Sum
118. Pascal's Triangle
119. Pascal's Triangle II
121. Best Time to Buy and Sell Stock
136. Single Number
141. Linked List Cycle
144. Binary Tree Preorder Traversal
145. Binary Tree Postorder Traversal 169. Majority Element
175. Combine Two Tables
182. Duplicate Emails
183. Customers Who Never Order
190. Reverse Bits
191. Number of 1 Bits
192. Word Frequency
193. Valid Phone Numbers
194. Transpose File
195. Tenth Line
196. Delete Duplicate Emails
197. Rising Temperature
202. Happy Number
203. Remove Linked List Elements 205. Isomorphic Strings
206. Reverse Linked List
217. Contains Duplicate
226. Invert Binary Tree
231. Power of Two
232. Implement Queue using Stacks
242. Valid Anagram
[270. Closest Binary Search Tree Value]
278. First Bad Version
283. Move Zeroes
290. Word Pattern
303. Range Sum Query - Immutable
344. Reverse String 350. Intersection of Two Arrays II
367. Valid Perfect Square
374. Guess Number Higher or Lower
383. Ransom Note
387. First Unique Character in a String
389. Find the Difference
392. Is Subsequence
404. Sum of Left Leaves
409. Longest Palindrome
414. Third Maximum Number
441. Arranging Coins
[448. Find All Numbers Disappeared in an Array]
[485. Max Consecutive Ones]
496. Next Greater Element I
509. Fibonacci Number
511. Game Play Analysis I 520. Detect Capital
521. Longest Uncommon Subsequence I 557. Reverse Words in a String III 566. Reshape the Matrix
584. Find Customer Referee
586. Customer Placing the Largest Number of Orders
589. N-ary Tree Preorder Traversal
595. Big Countries
607. Sales Person
617. Merge Two Binary Trees
627. Swap Salary
653. Two Sum IV - Input is a BST
700. Search in a Binary Search Tree
704. Binary Search
709. To Lower Case 724. Find Pivot Index 733. Flood Fill
744. Find Smallest Letter Greater Than Target
746. Min Cost Climbing Stairs
771. Jewels and Stones
844. Backspace String Compare
876. Middle of the Linked List
[905. Sort Array By Parity]
[941. Valid Mountain Array]
944. Delete Columns to Make Sorted
953. Verifying an Alien Dictionary
976. Largest Perimeter Triangle
977. Squares of a Sorted Array
1046. Last Stone Weight
1050. Actors and Directors Who Cooperated At Least Three Times
[1051. Height Checker]
1084. Sales Analysis III
[1089. Duplicate Zeros]
1108. Defanging an IP Address
1141. User Activity for the Past 30 Days I
1148. Article Views I
[1207. Unique Number of Occurrences]
1221. Split a String in Balanced Strings
1232. Check If It Is a Straight Line
1281. Subtract the Product and Sum of Digits of an Integer
1290. Convert Binary Number in a Linked List to Integer
[1295. Find Numbers with Even Number of Digits]
[1299. Replace Elements with Greatest Element on Right Side]
1309. Decrypt String from Alphabet to Integer Mapping
1313. Decompress Run-Length Encoded List
1337. The K Weakest Rows in a Matrix
1342. Number of Steps to Reduce a Number to Zero
1346. Check If N and Its Double Exist
1351. Count Negative Numbers in a Sorted Matrix
1356. Sort Integers by The Number of 1 Bits
1365. How Many Numbers Are Smaller Than the Current Number
1385. Find the Distance Value Between Two Arrays
1389. Create Target Array in the Given Order
1407. Top Travellers
1431. Kids With the Greatest Number of Candies
1470. Shuffle the Array
1480. Running Sum of 1d Array
1484. Group Sold Products By The Date
1486. XOR Operation in an Array
1491. Average Salary Excluding the Minimum and Maximum Salary
1502. Can Make Arithmetic Progression From Sequence
1512. Number of Good Pairs
1518. Water Bottles
1523. Count Odd Numbers in an Interval Range
1527. Patients With a Condition
1528. Shuffle String
1539. Kth Missing Positive Number
1572. Matrix Diagonal Sum
1581. Customer Who Visited but Did Not Make Any Transactions
1587. Bank Account Summary II
1588. Sum of All Odd Length Subarrays
1603. Design Parking System
1608. Special Array With X Elements Greater Than or Equal X
1667. Fix Names in a Table
1672. Richest Customer Wealth
1678. Goal Parser Interpretation
1693. Daily Leads and Partners 1720. Decode XORed Array
1729. Find Followers Count
1741. Find Total Time Spent by Each Employee
1757. Recyclable and Low Fat Products
1768. Merge Strings Alternately
1773. Count Items Matching a Rule
1779. Find Nearest Point That Has the Same X or Y Coordinate
1790. Check if One String Swap Can Make Strings Equal
1795. Rearrange Products Table
1822. Sign of the Product of an Array
1832. Check if the Sentence Is Pangram
1859. Sorting the Sentence
1873. Calculate Special Bonus 1890. The Latest Login in 2020 1920. Build Array from Permutation
1929. Concatenation of Array
1965. Employees With Missing Information 1991. Find the Middle Index in Array
2011. Final Value of Variable After Performing Operations
2114. Maximum Number of Words Found in Sentences
2160. Minimum Sum of Four Digit Number After Splitting Digits
2194. Cells in a Range on an Excel Sheet
2235. Add Two Integers
2325. Decode the Message
2413. Smallest Even Multiple
2469. Convert the Temperature
2520. Count the Digits That Divide a Number 2535. Difference Between Element Sum and Digit Sum of an Array 2574. Left and Right Sum Differences 2769. Find the Maximum Achievable Number 2798. Number of Employees Who Met the Target

Medium

3. Longest Substring Without Repeating Characters
[28. Find the Index of the First Occurrence in a String]
33. Search in Rotated Sorted Array
34. Find First and Last Position of Element in Sorted Array
36. Valid Sudoku
46. Permutations
53. Maximum Subarray
62. Unique Paths
74. Search a 2D Matrix
77. Combinations
98. Validate Binary Search Tree
102. Binary Tree Level Order Traversal
116. Populating Next Right Pointers in Each Node
120. Triangle
153. Find Minimum in Rotated Sorted Array
[162. Find Peak Element]
167. Two Sum II - Input Array Is Sorted
176. Second Highest Salary
189. Rotate Array
198. House Robber
235. Lowest Common Ancestor of a Binary Search Tree
299. Bulls and Cows 394. Decode String
[487. Max Consecutive Ones II]
522. Longest Uncommon Subsequence II
540. Single Element in a Sorted Array
542. 01 Matrix
567. Permutation in String
608. Tree Node
633. Sum of Square Numbers
692. Top K Frequent Words
695. Max Area of Island
701. Insert into a Binary Search Tree
784. Letter Case Permutation
852. Peak Index in a Mountain Array
994. Rotting Oranges
1158. Market Analysis I
1393. Capital Gain/Loss
1689. Partitioning Into Minimum Number Of Deci-Binary Numbers 1855. Maximum Distance Between a Pair of Values

Hard

About

Solutions for leetcode problems


Languages

Language:Java 99.3%Language:Shell 0.7%