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, Talabat
  • Best Time to Buy and Sell Stock

    Difficulty: EasyAsked by: Amazon, Apple, Meta
  • Container With Most Water

    Difficulty: MediumAsked by: Amazon, Google, Microsoft
  • Contains Duplicate

    Difficulty: EasyAsked by: Amazon, Apple
  • Longest Increasing Subsequence

    Difficulty: HardAsked by: Amazon, Google, Microsoft
  • Maximum Subarray

    Difficulty: MediumAsked by: Amazon, Google, Microsoft
  • Add Two Numbers as Arrays

    Difficulty: MediumAsked by: Property Finder
  • Buildings Receiving Sunlight

    Difficulty: MediumAsked by: Careem
  • Find Primes in Array

    Difficulty: EasyAsked by: Valeo Egypt
  • Kth Largest Element in Array

    Difficulty: MediumAsked by: Careem
  • Max Consecutive Ones

    Difficulty: EasyAsked by: Careem
  • Max Consecutive Ones III

    Difficulty: MediumAsked by: Careem
  • Max Sum with Increasing Constraint

    Difficulty: HardAsked by: Orange Egypt
  • Maximum Subarray

    Difficulty: MediumAsked by: Careem, Noon
  • Merge K Sorted Arrays

    Difficulty: HardAsked by: HungerStation, Talabat
  • Merge Two Sorted Arrays

    Difficulty: EasyAsked by: Siemens EDA
  • Find Minimum in Rotated Sorted Array

    Difficulty: MediumAsked by: Siemens EDA
  • Prefix Sum Range Queries

    Difficulty: MediumAsked by: Property Finder
  • Find Repeating and Missing Number

    Difficulty: MediumAsked by: Dubizzle
  • Rotate Image

    Difficulty: MediumAsked by: Careem
  • Sliding Window Maximum

    Difficulty: HardAsked by: Siemens EDA
  • Spiral Matrix

    Difficulty: MediumAsked by: Siemens EDA
  • Top K Frequent Elements

    Difficulty: MediumAsked by: Careem
  • Two Sum

    Difficulty: EasyAsked by: Fawry, Noon, Vodafone Egypt
  • Plus One

    Difficulty: EasyAsked by: Apple, Google
  • Product of Array Except Self

    Difficulty: MediumAsked by: Amazon, Apple, Meta
  • Search in Rotated Sorted Array

    Difficulty: MediumAsked by: Google, Meta, Microsoft
  • Session Timeout Cleanup

    Difficulty: EasyAsked by: Microsoft, Noon
  • Sliding Log Rate Limiter

    Difficulty: MediumAsked by: Careem, Google, Uber
  • Three Sum

    Difficulty: MediumAsked by: Amazon, Google, Meta
  • Trapping Rain Water

    Difficulty: HardAsked by: Amazon, Apple, Google
  • Two 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