Enterprise SaaS

LinkedIn 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
50
Easy
7
Medium
31
Hard
12
Mapped to chapter
28

Array

24 problems

Easy 2

#TitleDifficultyAlso atChapter
605Can Place Flowersalso at:AtlassianAirbnbAmazon Also at 3 moreCiscoGoogleMeta Easy
744Find Smallest Letter Greater Than Targetalso at:Meta Easy

Medium 17

#TitleDifficultyAlso atChapter
33Search in Rotated Sorted Array also at:AdobeArista NetworksAutodesk Also at 20 moreMongoDBSAPVMwareZscalerAmazonBloombergByteDanceCiscoeBayFlipkartFreshworksGoldman SachsGoogleMetaMicrosoftMyntraNaviNetflixPayPalPaytm MediumChapter
34Find First and Last Position of Element in Sorted Arrayalso at:AtlassianAirtelAmazon Also at 10 moreAppleBloombergByteDanceGoogleInstacartMetaMicrosoftNianticPayPalWise Medium
53Maximum Subarrayalso at:AdobeArista NetworksAtlassian Also at 29 moreAutodeskSAPAirbnbAmazonAppleBloombergByteDanceCiscoDelleBayFractal AnalyticsFreshworksGoldman SachsGoogleIntelJioMeeshoMetaMicrosoftOlaPayPalPhonePeSnapSwiggyTargetTeslaVisaZomatoZoom MediumChapter
152Maximum Product Subarrayalso at:AdobeAmazonBloomberg Also at 13 moreByteDanceDelhiveryDeliverooGoogleJuspayLINEMetaMicrosoftMorgan StanleyPayPalQualcommSwiggyWayfair Medium
200Number of Islands also at:AdobeAutodeskCloudflare Also at 43 moreCrowdStrikeDocuSignDropboxOktaSAPSplunkVMwareAmazonAMDAppleBloombergByteDanceCapital OneCiscoCitadelCREDDoorDasheBayFlipkartGoldman SachsGoogleIntelIntuitLyftMeeshoMetaMicrosoftOlaPayPalPhonePePinterestQualcommRedditSnapSpotifyTargetTeslaToastUberUrban CompanyWalmart Global TechZohoZomato MediumChapter
215Kth Largest Element in an Array also at:AdobeAutodeskSAP Also at 17 moreVMwareAmazonAppleBloombergByteDanceDeliverooeBayFlipkartFreshworksGoogleIntuitMetaMicrosoftMorgan StanleyPayPalQualcommSpotify MediumChapter
244Shortest Word Distance IIalso at:PalantireBay Medium
256Paint Housealso at:AmazonCitadel Medium
360Sort Transformed Arrayalso at:Google Medium
380Insert Delete GetRandom O(1)also at:AdobeDocuSignOkta Also at 20 moreTwilioVMwareAmazonAppleBloombergCars24CiscoCitadelDoorDashGoogleIntuitMicrosoftNetflixOYORobloxSamsaraSnapUberX (Twitter)Yelp MediumChapter
528Random Pick with Weightalso at:AmazonChimeCoinbase Also at 10 moreGoogleLINEMetaMicrosoftNetflixPayPalRevolutRobloxSnapTwo Sigma Medium
636Exclusive Time of Functionsalso at:AmazonGoogleMeta Also at 2 moreSnapVisa Medium
698Partition to K Equal Sum Subsetsalso at:VMwareAmazonByteDance Also at 3 moreeBayGoogleMicrosoft MediumChapter
721Accounts Mergealso at:DocuSignPalantirRippling Also at 8 moreAirbnbAmazonBloombergGoogleMetaMicrosoftPhonePeSnap MediumChapter
752Open the Lockalso at:AmazonCars24Citadel Also at 3 moreDiscordMicrosoftUber MediumChapter
994Rotting Oranges also at:AdobeSalesforceAmazon Also at 23 moreBloombergChimeCitadelCleartripDoorDashDream11eBayFlipkartGoogleIntuitMetaMicrosoftMyntraOpenAIOYOPayPalPhonePeRakutenRobloxUberUrban CompanyZohoZoom MediumChapter
1004Max Consecutive Ones IIIalso at:AmazonBloombergGoogle Also at 4 moreLINEMetaMicrosoftSnap MediumChapter

Hash Table

8 problems

Tree

5 problems

Easy 3

#TitleDifficultyAlso atChapter
100Same Treealso at:SAPAmazonBloomberg Also at 6 moreGoogleMetaMicrosoftRedditWiseZoom EasyChapter
104Maximum Depth of Binary Tree also at:AdobeArista NetworksAmazon Also at 5 moreByteDanceGoogleMetaMicrosoftQualcomm EasyChapter
617Merge Two Binary Treesalso at:AdobeMongoDB Easy

Medium 2

#TitleDifficultyAlso atChapter
156Binary Tree Upside DownMedium
366Find Leaves of Binary Treealso at:DiscordDuolingoeBay Also at 1 moreFlipkart Medium

Depth-First Search

3 problems

String

3 problems

Medium 1

#TitleDifficultyAlso atChapter
516Longest Palindromic Subsequencealso at:AmazonGoogleMicrosoft MediumChapter

Hard 1

#TitleDifficultyAlso atChapter
65Valid Numberalso at:AdobeAmazonInstacart Also at 1 moreMeta Hard

Misc

7 problems

Medium 4

#TitleDifficultyAlso atChapter
277Find the Celebrityalso at:VMwareAppleMicrosoft Also at 1 moreToast Medium
319Bulb Switcheralso at:AmazonGoogle Medium
364Nested List Weight Sum IIMedium
1188Design Bounded Blocking Queuealso at:BloombergTesla Medium

Hard 2

#TitleDifficultyAlso atChapter
272Closest Binary Search Tree Value IIHard
489Robot Room Cleaneralso at:CitadelMetaTwo Sigma Hard