Arrays
Challenges: 32Easy: 9Medium: 18Hard: 5
This Arrays set gathers 32 coding problems, with a mix of 9 easy, 18 medium, 5 hard. They show up in interviews at companies like Meta, Talabat, Amazon, Apple, Google, so you can master the pattern once and recognize it everywhere.
Arrays coding problems
API Latency Percentile
Difficulty: MediumAsked by: Meta, TalabatBest Time to Buy and Sell Stock
Difficulty: EasyAsked by: Amazon, Apple, MetaContainer With Most Water
Difficulty: MediumAsked by: Amazon, Google, MicrosoftContains Duplicate
Difficulty: EasyAsked by: Amazon, AppleLongest Increasing Subsequence
Difficulty: HardAsked by: Amazon, Google, MicrosoftMaximum Subarray
Difficulty: MediumAsked by: Amazon, Google, MicrosoftAdd Two Numbers as Arrays
Difficulty: MediumAsked by: Property FinderBuildings Receiving Sunlight
Difficulty: MediumAsked by: CareemFind Primes in Array
Difficulty: EasyAsked by: Valeo EgyptKth Largest Element in Array
Difficulty: MediumAsked by: CareemMax Consecutive Ones
Difficulty: EasyAsked by: CareemMax Consecutive Ones III
Difficulty: MediumAsked by: CareemMax Sum with Increasing Constraint
Difficulty: HardAsked by: Orange EgyptMaximum Subarray
Difficulty: MediumAsked by: Careem, NoonMerge K Sorted Arrays
Difficulty: HardAsked by: HungerStation, TalabatMerge Two Sorted Arrays
Difficulty: EasyAsked by: Siemens EDAFind Minimum in Rotated Sorted Array
Difficulty: MediumAsked by: Siemens EDAPrefix Sum Range Queries
Difficulty: MediumAsked by: Property FinderFind Repeating and Missing Number
Difficulty: MediumAsked by: DubizzleRotate Image
Difficulty: MediumAsked by: CareemSliding Window Maximum
Difficulty: HardAsked by: Siemens EDASpiral Matrix
Difficulty: MediumAsked by: Siemens EDATop K Frequent Elements
Difficulty: MediumAsked by: CareemTwo Sum
Difficulty: EasyAsked by: Fawry, Noon, Vodafone EgyptPlus One
Difficulty: EasyAsked by: Apple, GoogleProduct of Array Except Self
Difficulty: MediumAsked by: Amazon, Apple, MetaSearch in Rotated Sorted Array
Difficulty: MediumAsked by: Google, Meta, MicrosoftSession Timeout Cleanup
Difficulty: EasyAsked by: Microsoft, NoonSliding Log Rate Limiter
Difficulty: MediumAsked by: Careem, Google, UberThree Sum
Difficulty: MediumAsked by: Amazon, Google, MetaTrapping Rain Water
Difficulty: HardAsked by: Amazon, Apple, GoogleTwo Sum
Difficulty: EasyAsked by: Amazon, Google, Meta
Asked by
Ready to practice for real?
Work through Arrays problems in the editor, run your code, and check your solution against real test cases.
Practice coding challenges, start free