Home / Company interviews / HCL · Updated
HCL interview questions and practice
18 coding questions are known to come up in HCL interviews (9 easy, 7 medium, 2 hard), 1 of them in the last six months. The most common topics are Array, String, Two Pointers, Dynamic Programming.
Practice interviews built from public job posts and question lists. Each open post links to the original so you can apply on HCL’s own site; HCL does not run, see or review your practice.
Coding questions HCL asks
From public company-tagged interview question lists. Most recent and most frequent first.
- Array7
- String7
- Two Pointers7
- Dynamic Programming5
- Math3
- Binary Search3
- Hash Table3
- Stack2
- Sorting2
- Sliding Window2
- Database2
- Bit Manipulation1
| Question | Difficulty | Asked recently |
|---|---|---|
| Valid Perfect Square | Easy | Yes |
| Two Sum | Easy | No |
| Valid Parentheses | Easy | No |
| Valid Palindrome | Easy | No |
| Merge Sorted Array | Easy | No |
| Longest Substring Without Repeating Characters | Medium | No |
| Best Time to Buy and Sell Stock | Easy | No |
| Palindromic Substrings | Medium | No |
| Reverse String | Easy | No |
| Missing Number | Easy | No |
| Minimum Size Subarray Sum | Medium | No |
| Department Top Three Salaries | Hard | No |
| Second Highest Salary | Medium | No |
| Reverse Words in a String | Medium | No |
| Maximum Subarray | Medium | No |
| Trapping Rain Water | Hard | No |
| Palindrome Number | Easy | No |
| Longest Palindromic Substring | Medium | No |
Questions about HCL interviews
What topics do HCL interviews cover?
The ones that come up most are Array, String, Two Pointers, Dynamic Programming, Math.
What coding questions does HCL ask?
18 questions are tagged to HCL in public interview lists: 9 easy, 7 medium and 2 hard. The most asked include Valid Perfect Square, Two Sum, Valid Parentheses.
How do I practise a HCL interview?
Answer a 2-minute question for free, then take a mock interview with an AI interviewer, voice and live coding. You get a review that marks the exact line that cost you. The screen and Round 1 of your first role interview are free.
Practise a HCL interview before it counts.
Talk it through while you code, and get a review that marks the exact line that cost you. Free to start.