HCL LeetCode Interview Questions
HCL has asked 16 distinct LeetCode questions across all recorded interviews: 7 easy, 8 medium and 1 hard. The questions reported most often are Two Sum, Valid Parentheses and Longest Substring Without Repeating Characters. 2 of them were reported in interviews from the Last 6 Months window. Every question links straight to LeetCode, and the list can be filtered by difficulty and topic or sorted by how often the question comes up.
| # | Problem | Difficulty | Frequency | Acceptance | |
|---|---|---|---|---|---|
| 1 | Two Sum | Easy | 100 | 0.6% | |
| 2 | Valid Parentheses | Easy | 84 | 0.4% | |
| 3 | Longest Substring Without Repeating Characters | Medium | 78 | 0.4% | |
| 4 | Merge Sorted Array | Easy | 78 | 0.6% | |
| 5 | Valid Palindrome | Easy | 78 | 0.5% | |
| 6 | Best Time to Buy and Sell Stock | Easy | 71 | 0.6% | |
| 7 | 3Sum | Medium | 62 | 0.4% | |
| 8 | Reverse String | Easy | 62 | 0.8% | |
| 9 | Second Highest Salary | Medium | 62 | 0.5% | |
| 10 | Department Top Three Salaries | Hard | 62 | 0.6% | |
| 11 | Longest Palindromic Substring | Medium | 62 | 0.4% | |
| 12 | Palindromic Substrings | Medium | 62 | 0.7% | |
| 13 | Reverse Words in a String | Medium | 62 | 0.6% | |
| 14 | Maximum Subarray | Medium | 62 | 0.5% | |
| 15 | Missing Number | Easy | 62 | 0.7% | |
| 16 | Minimum Size Subarray Sum | Medium | 62 | 0.5% |
Where this data comes from
These questions come from the public leetcode-company-wise-problems data set, which collects interview reports from candidates. They are community-reported rather than published by HCL, so treat the list as a strong signal of what gets asked, not an official or exhaustive syllabus. Last refreshed .
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. It is a relative popularity signal within HCL's questions, not a probability that you will be asked it. Acceptance is LeetCode's own share of submissions that pass for that problem, across all users, not something specific to HCL. Click any question to open it on LeetCode.