HCL LeetCode Questions
16 questions all-time · 7 easy · 8 medium · 1 hard
| # | Problem | Difficulty | Frequency | Acceptance |
|---|---|---|---|---|
| 1 | Two Sum Array, Hash Table | Easy | 100 | 0.6% |
| 2 | Valid Parentheses String, Stack | Easy | 84 | 0.4% |
| 3 | Longest Substring Without Repeating Characters Hash Table, String, Sliding Window | Medium | 78 | 0.4% |
| 4 | Merge Sorted Array Array, Two Pointers, Sorting | Easy | 78 | 0.6% |
| 5 | Valid Palindrome Two Pointers, String | Easy | 78 | 0.5% |
| 6 | Best Time to Buy and Sell Stock Array, Dynamic Programming | Easy | 71 | 0.6% |
| 7 | 3Sum Array, Two Pointers, Sorting | Medium | 62 | 0.4% |
| 8 | Reverse String Two Pointers, String | Easy | 62 | 0.8% |
| 9 | Second Highest Salary Database | Medium | 62 | 0.5% |
| 10 | Department Top Three Salaries Database | Hard | 62 | 0.6% |
| 11 | Longest Palindromic Substring Two Pointers, String, Dynamic Programming | Medium | 62 | 0.4% |
| 12 | Palindromic Substrings Two Pointers, String, Dynamic Programming | Medium | 62 | 0.7% |
| 13 | Reverse Words in a String Two Pointers, String | Medium | 62 | 0.6% |
| 14 | Maximum Subarray Array, Divide and Conquer, Dynamic Programming | Medium | 62 | 0.5% |
| 15 | Missing Number Array, Hash Table, Math, Binary Search, Bit Manipulation, Sorting | Easy | 62 | 0.7% |
| 16 | Minimum Size Subarray Sum Array, Binary Search, Sliding Window, Prefix Sum | Medium | 62 | 0.5% |
How to read this list
The tabs at the top split the questions by how recently people said they were asked in interviews. "Last 30 Days" is the past month, "Last 3 Months" is the past quarter, and so on. "All Time" is every question on record for this company.
Frequency is a score from 0 to 100 for how often a question showed up in that time window. A higher number means it came up more often, so the list starts with the most common questions first. Acceptance is the share of submissions that pass on LeetCode. Click any question to open it on LeetCode.