grindmapcompany-wise LeetCode
All companies

HCL LeetCode Questions

16 questions all-time · 7 easy · 8 medium · 1 hard
# Problem Difficulty Frequency Acceptance
1Two Sum
Array, Hash Table
Easy
100
0.6%
2Valid Parentheses
String, Stack
Easy
84
0.4%
3Longest Substring Without Repeating Characters
Hash Table, String, Sliding Window
Medium
78
0.4%
4Merge Sorted Array
Array, Two Pointers, Sorting
Easy
78
0.6%
5Valid Palindrome
Two Pointers, String
Easy
78
0.5%
6Best Time to Buy and Sell Stock
Array, Dynamic Programming
Easy
71
0.6%
73Sum
Array, Two Pointers, Sorting
Medium
62
0.4%
8Reverse String
Two Pointers, String
Easy
62
0.8%
9Second Highest Salary
Database
Medium
62
0.5%
10Department Top Three Salaries
Database
Hard
62
0.6%
11Longest Palindromic Substring
Two Pointers, String, Dynamic Programming
Medium
62
0.4%
12Palindromic Substrings
Two Pointers, String, Dynamic Programming
Medium
62
0.7%
13Reverse Words in a String
Two Pointers, String
Medium
62
0.6%
14Maximum Subarray
Array, Divide and Conquer, Dynamic Programming
Medium
62
0.5%
15Missing Number
Array, Hash Table, Math, Binary Search, Bit Manipulation, Sorting
Easy
62
0.7%
16Minimum 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.