grindmapcompany-wise LeetCode
All companies

HP LeetCode Questions

4 questions all-time · 3 easy · 1 medium · 0 hard
# Problem Difficulty Frequency Acceptance
1Minimum Recolors to Get K Consecutive Black Blocks
String, Sliding Window
Easy
100
0.7%
2Minimum Cost Homecoming of a Robot in a Grid
Array, Greedy
Medium
91
0.5%
3Longest Palindrome
Hash Table, String, Greedy
Easy
76
0.6%
4Valid Parentheses
String, Stack
Easy
76
0.4%

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.