Arrays Interview Questions
843+ real questions from verified interview reports across 12 companies.
Sourced from 1Point3Acres, Blind, Glassdoor, Reddit, and more. Translated and cleaned.
Top Companies Asking Arrays Questions
Sample Arrays Questions
Hi, I have started to make a list of questions asked in major interviews asked this year Format: Company: Optional but recommended Questions: I'll start Company: IBM Question: Design an algorithm to f
Scale AI phone screen [party time]
Got asked this for my Scale AI phone interview - found it on this [site](https://www.hacktherounds.com/problem/669?company=40). It's not the exact same question but pretty similar I would say. I tried
Rate my Google onsite Interview
Had all of my onsite coding interviews completed today. What ratings would you give me among Hire, Lean Hire, Lean No Hire and No Hire based on the description below. Round 1: The first question was a
Palantir | SWE Intern | London | May 2018
Current Status: Undergraduate Student, Bachelor\'s in Computer Science and Engineering. Postion: Software Engineering Intern @ Palantir, London. Location: London, UK. I came to know about the opening from their careers page and applied...
Ques: https://aonecode.com/interview-question/maximum-bounded-array ``` def MaxBoundedArray(n, low, up): \ttotal = (up - low) * 2 + 1 \tif (n > total or up < low or n < 3): \t\treturn None \t# if above check is passed,...
1. Given an array, return the value larger than its two preceding and following neighbors. 2. Given an array, if there is no number larger than cur, increment count by 1. 3. Given multiple 4x4 matrice
Q1 A sports coach must ensure that two teams in a competition are equally strong. Teams A and B have n and m players. The players\' skill levels are stored...
My friend was recenctly asked below question in RobinHood OA Given "num" and a diff sequence, add or subtract "num" to the array step by step, such that the maximum value...
Given an array of integers a, the task was to count the no of pairs i, j , such that a[i] and a[j] are digit anagrams. In the given time frame,...
R1 Given a stock price of 1 day for a day, create a method that would return the maximum profit of the day, given the following conditions. You can only buy and sell once. The difference between t
Hello this was the question which was asked to me in a hackerrank test. I spent a lot of time in just understanding the question, I tried to give this to LLM but I don't think that was an optimized on
Question You are given an array of integers "values". Another array "ranges" has each element as a 2-list - [start, end] where "start" and "end" denote a range (start is always < end). Find the num
Hi everyone, I recently interviewed for the Software Engineer 1 (SWE-1) role at **Nike** and got selected. Sharing my experience here — hope it helps others. **📌 Application** - Applied via referral -
📌 Problem: Maximum Profit with 5-Day Selling Constraint You are given two integer arrays cost and sales, where: cost[i] represents the cost of making a sourdough bread on day i sales[i] represents the
This post was last edited by Anonymous on 2025-09-25 21:15. After reading the posts on the forum, it seems my situation is different from everyone else's. I initially applied for positions in NC, and
I don't know if you get an online assessment (OA) just for submitting an application, but this company doesn't have a good reputation. It consists of three parts: Math problems, logic puzzles, and bra
This post was last edited by WeChat user _hne9e on 2025-10-01 00:42. I was quite surprised that Robin Hood didn't do online assessments (OA) but instead had someone work with you on the questions. The
I got the interview through a referral. Their questions were all the same ones I'd seen on forums and other sites, but I didn't pass because I felt I answered them quite well. The interviewers seemed
Meeting Rooms ## Problem Requirements You are given a list of meeting time intervals. Each interval has a specific **start** time and **end** time. Your task is to check if a person can attend all t
Netflix Homepage: Removing Duplicate Titles ### The Scenario Imagine the Netflix homepage. It is structured as a vertical list of rows, which we call **shelves**. Each shelf holds a horizontal list
System Health Monitor **The Challenge** You need to check the safety levels of a system. You are given an array called `errorRates`. The value at `errorRates[i]` tells you the error rate at time `i`
Number Pairs That Match Target ## Problem Statement You are provided with a list of integers called `nums` and a specific number called `target`. You need to find all pairs of numbers from the list
First Missing Positive Given an unsorted integer array `nums`, return the smallest positive integer that does not appear in `nums`. Your solution must run in `O(n)` time and use `O(1)` extra space.
Merge Intervals Given an array of `intervals` where `intervals[i] = [start_i, end_i]`, merge all overlapping intervals, and return an array of the non-overlapping intervals that cover all the interv
Merge Chat Message Windows ## Problem Overview You are given an existing API: ```python def get_chat_messages(message_id: int) -> list[Message]: ... ``` For a given `message_id`, it returns the surr
See All 843 Arrays Questions
Full question text, interview context, and company-specific frequency data for subscribers.
Get Access