InterviewLegend

Older Practice Problems (2018-2023)

Alex Chen40 min readGuide updated

Everything on this page is at least three years old. The newest problem here is from November 2023, and the rest come from onsites and screens in 2018 and 2019. Samsara's loops have moved on since. Markdown to HTML, the argument parser and class design builds are what candidates describe in 2025 and 2026, so put your hours there first.

So why keep these? Each one either came up in more than one loop or teaches something the newer lessons leave out. Merging ranges appeared in three separate interviews between 2018 and 2019. Building and rendering a tree came up in three 2019 onsites, and the temperature ranges question in two. The React search box and the grid path were each reported once, but they're the only React task and the only grid shortest path worked in this guide. Every problem below carries the years it was asked.

The Samsara angle
Most of these model Samsara's own data. The temperature question is a sensor series, the ranges are dates, and the tree turns into a web page. Even the older rounds wanted something close to the product, built and run in steps, so test as you go.

SamsaraPremium lesson · Coding round

The 5 Samsara problems are below.

  1. A Premium questionCoding · Medium
  2. A Premium questionCoding · Medium
  3. A Premium questionCoding · Medium

+ 2 more in this lesson

Each with hints, the follow-up and a tested solution.

Get the Samsara questions

$49 a year · all 122 companies · instant access

21,000+ candidate reports

Samsara interview guide

Know what Samsara asks before you walk in.

25 coding · 4 system design · 11 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your Samsara interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.