All companies
Tcs
105 Easy113 Medium22 Hard240 total
| No. | Problem | Difficulty | Frequency |
|---|---|---|---|
| 2993 | Friday Purchases I | Medium | |
| 1 | Two Sum | Easy | |
| 5 | Longest Palindromic Substring | Medium | |
| 9 | Palindrome Number | Easy | |
| 53 | Maximum Subarray | Medium | |
| 283 | Move Zeroes | Easy | |
| 3 | Longest Substring Without Repeating Characters | Medium | |
| 7 | Reverse Integer | Medium | |
| 11 | Container With Most Water | Medium | |
| 14 | Longest Common Prefix | Easy | |
| 15 | 3Sum | Medium | |
| 26 | Remove Duplicates from Sorted Array | Easy | |
| 28 | Find the Index of the First Occurrence in a String | Easy | |
| 20 | Valid Parentheses | Easy | |
| 55 | Jump Game | Medium | |
| 75 | Sort Colors | Medium | |
| 121 | Best Time to Buy and Sell Stock | Easy | |
| 136 | Single Number | Easy | |
| 169 | Majority Element | Easy | |
| 176 | Second Highest Salary | Medium | |
| 189 | Rotate Array | Medium | |
| 217 | Contains Duplicate | Easy | |
| 242 | Valid Anagram | Easy | |
| 344 | Reverse String | Easy | |
| 2423 | Remove Letter To Equalize Frequency | Easy | |
| 2520 | Count the Digits That Divide a Number | Easy | |
| 560 | Subarray Sum Equals K | Medium | |
| 509 | Fibonacci Number | Easy | |
| 1800 | Maximum Ascending Subarray Sum | Easy | |
| 4 | Median of Two Sorted Arrays | Hard | |
| 2 | Add Two Numbers | Medium | |
| 13 | Roman to Integer | Easy | |
| 18 | 4Sum | Medium | |
| 34 | Find First and Last Position of Element in Sorted Array | Medium | |
| 42 | Trapping Rain Water | Hard | |
| 50 | Pow(x, n) | Medium | |
| 54 | Spiral Matrix | Medium | |
| 58 | Length of Last Word | Easy | |
| 62 | Unique Paths | Medium | |
| 66 | Plus One | Easy | |
| 70 | Climbing Stairs | Easy | |
| 69 | Sqrt(x) | Easy | |
| 88 | Merge Sorted Array | Easy | |
| 152 | Maximum Product Subarray | Medium | |
| 268 | Missing Number | Easy | |
| 67 | Add Binary | Easy | |
| 387 | First Unique Character in a String | Easy | |
| 2481 | Minimum Cuts to Divide a Circle | Easy | |
| 540 | Single Element in a Sorted Array | Medium | |
| 766 | Toeplitz Matrix | Easy | |
| 898 | Bitwise ORs of Subarrays | Medium | |
| 3065 | Minimum Operations to Exceed Threshold Value I | Easy | |
| 3066 | Minimum Operations to Exceed Threshold Value II | Medium | |
| 1745 | Palindrome Partitioning IV | Hard | |
| 1752 | Check if Array Is Sorted and Rotated | Easy | |
| 912 | Sort an Array | Medium | |
| 125 | Valid Palindrome | Easy | |
| 35 | Search Insert Position | Easy | |
| 805 | Split Array With Same Average | Hard | |
| 49 | Group Anagrams | Medium | |
| 219 | Contains Duplicate II | Easy | |
| 3417 | Zigzag Grid Traversal With Skip | Easy | |
| 182 | Duplicate Emails | Easy | |
| 1125 | Smallest Sufficient Team | Hard | |
| 56 | Merge Intervals | Medium | |
| 643 | Maximum Average Subarray I | Easy | |
| 312 | Burst Balloons | Hard | |
| 33 | Search in Rotated Sorted Array | Medium | |
| 621 | Task Scheduler | Medium | |
| 181 | Employees Earning More Than Their Managers | Easy | |
| 12 | Integer to Roman | Medium | |
| 21 | Merge Two Sorted Lists | Easy | |
| 22 | Generate Parentheses | Medium | |
| 31 | Next Permutation | Medium | |
| 73 | Set Matrix Zeroes | Medium | |
| 78 | Subsets | Medium | |
| 118 | Pascal's Triangle | Easy | |
| 122 | Best Time to Buy and Sell Stock II | Medium | |
| 128 | Longest Consecutive Sequence | Medium | |
| 151 | Reverse Words in a String | Medium | |
| 179 | Largest Number | Medium | |
| 202 | Happy Number | Easy | |
| 204 | Count Primes | Medium | |
| 206 | Reverse Linked List | Easy | |
| 239 | Sliding Window Maximum | Hard | |
| 412 | Fizz Buzz | Easy | |
| 532 | K-diff Pairs in an Array | Medium | |
| 584 | Find Customer Referee | Easy | |
| 852 | Peak Index in a Mountain Array | Medium | |
| 1148 | Article Views I | Easy | |
| 543 | Diameter of Binary Tree | Easy | |
| 287 | Find the Duplicate Number | Medium | |
| 1757 | Recyclable and Low Fat Products | Easy | |
| 85 | Maximal Rectangle | Hard | |
| 485 | Max Consecutive Ones | Easy | |
| 416 | Partition Equal Subset Sum | Medium | |
| 1075 | Project Employees I | Easy | |
| 2006 | Count Number of Pairs With Absolute Difference K | Easy | |
| 51 | N-Queens | Hard | |
| 45 | Jump Game II | Medium | |
| 124 | Binary Tree Maximum Path Sum | Hard | |
| 23 | Merge k Sorted Lists | Hard | |
| 1480 | Running Sum of 1d Array | Easy | |
| 19 | Remove Nth Node From End of List | Medium | |
| 198 | House Robber | Medium | |
| 956 | Tallest Billboard | Hard | |
| 263 | Ugly Number | Easy | |
| 628 | Maximum Product of Three Numbers | Easy | |
| 567 | Permutation in String | Medium | |
| 155 | Min Stack | Medium | |
| 875 | Koko Eating Bananas | Medium | |
| 876 | Middle of the Linked List | Easy | |
| 48 | Rotate Image | Medium | |
| 462 | Minimum Moves to Equal Array Elements II | Medium | |
| 297 | Serialize and Deserialize Binary Tree | Hard | |
| 146 | LRU Cache | Medium | |
| 2095 | Delete the Middle Node of a Linked List | Medium | |
| 414 | Third Maximum Number | Easy | |
| 41 | First Missing Positive | Hard | |
| 2099 | Find Subsequence of Length K With the Largest Sum | Easy | |
| 81 | Search in Rotated Sorted Array II | Medium | |
| 1068 | Product Sales Analysis I | Easy | |
| 90 | Subsets II | Medium | |
| 1493 | Longest Subarray of 1's After Deleting One Element | Medium | |
| 1518 | Water Bottles | Easy | |
| 17 | Letter Combinations of a Phone Number | Medium | |
| 496 | Next Greater Element I | Easy | |
| 455 | Assign Cookies | Easy | |
| 153 | Find Minimum in Rotated Sorted Array | Medium | |
| 977 | Squares of a Sorted Array | Easy | |
| 27 | Remove Element | Easy | |
| 8 | String to Integer (atoi) | Medium | |
| 516 | Longest Palindromic Subsequence | Medium | |
| 167 | Two Sum II - Input Array Is Sorted | Medium | |
| 435 | Non-overlapping Intervals | Medium | |
| 303 | Range Sum Query - Immutable | Easy | |
| 83 | Remove Duplicates from Sorted List | Easy | |
| 238 | Product of Array Except Self | Medium | |
| 46 | Permutations | Medium | |
| 74 | Search a 2D Matrix | Medium | |
| 1581 | Customer Who Visited but Did Not Make Any Transactions | Easy | |
| 300 | Longest Increasing Subsequence | Medium | |
| 443 | String Compression | Medium | |
| 3689 | Maximum Total Subarray Value I | Medium | |
| 234 | Palindrome Linked List | Easy | |
| 180 | Consecutive Numbers | Medium | |
| 84 | Largest Rectangle in Histogram | Hard | |
| 1331 | Rank Transform of an Array | Easy | |
| 80 | Remove Duplicates from Sorted Array II | Medium | |
| 231 | Power of Two | Easy | |
| 577 | Employee Bonus | Easy | |
| 704 | Binary Search | Easy | |
| 1492 | The kth Factor of n | Medium | |
| 273 | Integer to English Words | Hard | |
| 1025 | Divisor Game | Easy | |
| 1512 | Number of Good Pairs | Easy | |
| 670 | Maximum Swap | Medium | |
| 229 | Majority Element II | Medium | |
| 3163 | String Compression III | Medium | |
| 2461 | Maximum Sum of Distinct Subarrays With Length K | Medium | |
| 141 | Linked List Cycle | Easy | |
| 1368 | Minimum Cost to Make at Least One Valid Path in a Grid | Hard | |
| 1378 | Replace Employee ID With The Unique Identifier | Easy | |
| 1497 | Check If Array Pairs Are Divisible by k | Medium | |
| 2563 | Count the Number of Fair Pairs | Medium | |
| 2703 | Return Length of Arguments Passed | Easy | |
| 1910 | Remove All Occurrences of a Substring | Medium | |
| 459 | Repeated Substring Pattern | Easy | |
| 3330 | Find the Original Typed String I | Easy | |
| 164 | Maximum Gap | Medium | |
| 1751 | Maximum Number of Events That Can Be Attended II | Hard | |
| 328 | Odd Even Linked List | Medium | |
| 109 | Convert Sorted List to Binary Search Tree | Medium | |
| 713 | Subarray Product Less Than K | Medium | |
| 3136 | Valid Word | Easy | |
| 1614 | Maximum Nesting Depth of the Parentheses | Easy | |
| 142 | Linked List Cycle II | Medium | |
| 495 | Teemo Attacking | Easy | |
| 979 | Distribute Coins in Binary Tree | Medium | |
| 209 | Minimum Size Subarray Sum | Medium | |
| 94 | Binary Tree Inorder Traversal | Easy | |
| 1015 | Smallest Integer Divisible by K | Medium | |
| 184 | Department Highest Salary | Medium | |
| 1365 | How Many Numbers Are Smaller Than the Current Number | Easy | |
| 143 | Reorder List | Medium | |
| 319 | Bulb Switcher | Medium | |
| 10 | Regular Expression Matching | Hard | |
| 570 | Managers with at Least 5 Direct Reports | Medium | |
| 350 | Intersection of Two Arrays II | Easy | |
| 994 | Rotting Oranges | Medium | |
| 3714 | Longest Balanced Substring II | Medium | |
| 38 | Count and Say | Medium | |
| 739 | Daily Temperatures | Medium | |
| 405 | Convert a Number to Hexadecimal | Easy | |
| 523 | Continuous Subarray Sum | Medium | |
| 1143 | Longest Common Subsequence | Medium | |
| 566 | Reshape the Matrix | Easy | |
| 6 | Zigzag Conversion | Medium | |
| 409 | Longest Palindrome | Easy | |
| 1823 | Find the Winner of the Circular Game | Medium | |
| 160 | Intersection of Two Linked Lists | Easy | |
| 127 | Word Ladder | Hard | |
| 1021 | Remove Outermost Parentheses | Easy | |
| 746 | Min Cost Climbing Stairs | Easy | |
| 2667 | Create Hello World Function | Easy | |
| 796 | Rotate String | Easy | |
| 744 | Find Smallest Letter Greater Than Target | Easy | |
| 1295 | Find Numbers with Even Number of Digits | Easy | |
| 16 | 3Sum Closest | Medium | |
| 724 | Find Pivot Index | Easy | |
| 347 | Top K Frequent Elements | Medium | |
| 111 | Minimum Depth of Binary Tree | Easy | |
| 57 | Insert Interval | Medium | |
| 905 | Sort Array By Parity | Easy | |
| 1281 | Subtract the Product and Sum of Digits of an Integer | Easy | |
| 196 | Delete Duplicate Emails | Easy | |
| 59 | Spiral Matrix II | Medium | |
| 100 | Same Tree | Easy | |
| 448 | Find All Numbers Disappeared in an Array | Easy | |
| 525 | Contiguous Array | Medium | |
| 104 | Maximum Depth of Binary Tree | Easy | |
| 1833 | Maximum Ice Cream Bars | Medium | |
| 930 | Binary Subarrays With Sum | Medium | |
| 175 | Combine Two Tables | Easy | |
| 230 | Kth Smallest Element in a BST | Medium | |
| 394 | Decode String | Medium | |
| 203 | Remove Linked List Elements | Easy | |
| 1402 | Reducing Dishes | Hard | |
| 692 | Top K Frequent Words | Medium | |
| 1523 | Count Odd Numbers in an Interval Range | Easy | |
| 383 | Ransom Note | Easy | |
| 904 | Fruit Into Baskets | Medium | |
| 200 | Number of Islands | Medium | |
| 1679 | Max Number of K-Sum Pairs | Medium | |
| 177 | Nth Highest Salary | Medium | |
| 987 | Vertical Order Traversal of a Binary Tree | Hard | |
| 860 | Lemonade Change | Easy | |
| 442 | Find All Duplicates in an Array | Medium | |
| 1456 | Maximum Number of Vowels in a Substring of Given Length | Medium | |
| 735 | Asteroid Collision | Medium |