Marketplace & Mobility

Samsara interview questions

Grouped by topic, sorted Easy → Medium → Hard, then by LeetCode ID. Click a problem to open it on LeetCode; the chapter column links to the handbook chapter that covers it.

Problems
18
Easy
1
Medium
15
Hard
2
Mapped to chapter
8

Array

14 problems

Easy 1

#TitleDifficultyAlso atChapter
3206Alternating Groups IEasy

Medium 11

#TitleDifficultyAlso atChapter
36Valid Sudokualso at:InstacartAdobeAmazon Also at 10 moreAppleAutodeskBloombergGoogleMetaMicrosoftPayPalSnapVMwareZoho MediumChapter
39Combination Sumalso at:AirbnbAmazonBloomberg Also at 10 moreChimeCitadeleBayGoogleMetaNianticPayPalSnapVMwareZomato MediumChapter
48Rotate Image also at:LyftRakutenAdobe Also at 17 moreAmazonAppleBloombergCiscoDiscordFlipkartGoogleIntelJPMorganMetaMicrosoftNetflixPayPalQualcommRobloxVisaZoho MediumChapter
198House Robber also at:AirbnbExpediaAdobe Also at 24 moreAmazonBloombergByteDanceCars24CiscoCitadelCleartripCure.fitDatabricksDatadogeBayFlipkartGoogleIntuitMetaMicrosoftNianticNVIDIAOYOPayPalPhonePeTeslaWalmart Global TechZoom MediumChapter
286Walls and Gatesalso at:DoorDashByteDanceGoogle Also at 4 moreMetaNianticRedditSpotify Medium
373Find K Pairs with Smallest Sumsalso at:AmazonFlipkartGoogle Also at 2 moreMetaWise Medium
380Insert Delete GetRandom O(1)also at:DoorDashUberYelp Also at 20 moreAdobeAmazonAppleBloombergCars24CiscoCitadelDocuSignGoogleIntuitLinkedInMicrosoftNetflixOktaOYORobloxSnapTwilioVMwareX (Twitter) MediumChapter
658Find K Closest Elementsalso at:DoorDashAmazonAtlassian Also at 6 moreDiscordeBayFlipkartGoogleLINEMicrosoft Medium
739Daily Temperaturesalso at:AdobeAmazonBloomberg Also at 11 moreGoldman SachsGoogleIntuitMetaMicrosoftMorgan StanleyNetflixOktaSAPSwiggyZoho MediumChapter
875Koko Eating Bananasalso at:DoorDashAdobeAmazon Also at 16 moreAtlassianAutodeskBloombergCitadelFlipkartGoldman SachsGoogleMetaMicrosoftNetflixNykaaOYOPayPalPhonePeSwiggyZoom MediumChapter
3208Alternating Groups IIMedium

Misc

4 problems