Samsara LeetCode Questions
5 questions all-time · 1 easy · 3 medium · 1 hard
| # | Problem | Difficulty | Frequency | Acceptance |
|---|---|---|---|---|
| 1 | Alternating Groups I Array, Sliding Window | Easy | 100 | 0.7% |
| 2 | Alternating Groups II Array, Sliding Window | Medium | 100 | 0.6% |
| 3 | Valid Sudoku Array, Hash Table, Matrix | Medium | 98 | 0.6% |
| 4 | Find Beautiful Indices in the Given Array I Two Pointers, String, Binary Search, Rolling Hash, String Matching, Hash Function | Medium | 85 | 0.4% |
| 5 | Text Justification Array, String, Simulation | Hard | 66 | 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.