Array Interview Questions
500 interview questions in our bank cover Array, most of them Coding Questions. They average 2.6/5 difficulty — medium — and each one was reported by a candidate after a real interview. Companies known to ask about Array: Amazon, Meta, Google, Snowflake, Capital One, and 15 more.
Practice these on the problems board →Companies that ask about Array
Question mix
- Coding Questions500
Difficulty
- 1/5 — warm-up14
- 2/5 — easy176
- 3/5 — medium284
- 4/5 — hard25
- 5/5 — very hard1
Array questions at Amazon
Minimum Jumps to Reach the Last Index
3/5Sourced from Amazon technical interviews, this algorithmic problem challenges you to find the fewest forward steps required to traverse an array from start to finish based on dynamic maximum reach values. You will need to evaluate forward-looking boundaries and make optimal greedy choices at each index to minimize your total traversal cost. The task is an excellent test of your dynamic programming and interval tracking intuition. Access to the full problem breakdown and model solution requires a subscription.
Coding QuestionsAmazonSearch in a Rotated Sorted Array
3/5This frequently asked Amazon interview question challenges you to locate a specific numerical value inside a sequence that has undergone a pivot rotation. The core objective is to achieve logarithmic time complexity, requiring a clever modification of traditional binary search to handle the resulting unsorted halves. You will need to carefully determine which side of the collection remains properly ordered before narrowing down your search space. The full problem description, edge cases, and complete model solution require a subscription.
Coding QuestionsAmazonReduce by Adjacent Digit Sums
2/5This interview task challenges you to perform iterative sequence reductions based on numeric properties of adjacent elements. You must repeatedly transform a collection of digits by combining neighbors through modular arithmetic until only a final pair remains. This exercise tests your proficiency with array manipulation, simulation logic, and efficient reduction techniques while managing state transitions. To view the full problem statement, test cases, and a comprehensive code solution, a subscription is required.
Coding QuestionsAmazonShortest Word Distance
2/5Encountered in Amazon technical rounds, this foundational array problem asks you to calculate the shortest positional gap between two specific terms inside a text collection. Participants must efficiently traverse the sequence to track minimum index separation without unnecessary overhead. The challenge highlights string manipulation strategies and linear search optimization. View the complete problem text and an optimized programmatic solution by purchasing a subscription.
Coding QuestionsAmazonTotal Distance to Nearest Gas Station
3/5This Amazon interview challenge explores spatial optimization and distance calculation for vehicles traveling to designated service locations along a single axis. Given initial vehicle placements and various scenarios involving newly introduced service stops, you must compute the aggregate travel distance required for every unit to reach its closest station across multiple query sets. The problem evaluates your proficiency in maintaining sorted data structures and performing efficient range queries to update distance metrics dynamically. The complete problem statement and optimal code solution require a subscription.
Coding QuestionsAmazonMaximum Trapped Water
3/5Tackle a classic algorithmic puzzle frequently featured in Amazon software engineering interviews. Given an elevation profile represented by an array of numeric values, your objective is to calculate the total capacity of liquid that can be successfully retained between the barriers after a rainfall. This challenge examines your proficiency with two-pointer techniques, spatial reasoning, and optimizing time complexity while managing boundary constraints efficiently. Unlock the comprehensive problem statement and verified optimal solution code by getting a subscription today.
Coding QuestionsAmazonEarliest Month of Minimum Net Change
2/5This analytical partitioning puzzle, reported from Amazon coding interviews, asks you to find the optimal split point in a sequence of values that minimizes the absolute difference between the averages of the two resulting subranges. You must compute running averages efficiently across various index divisions to identify the target month with the smallest net change. This problem evaluates your prefix calculation techniques and optimization mindset. The full problem statement and optimal solution are available with a subscription.
Coding QuestionsAmazonMinimum Increment Sum for Non-Decreasing
3/5This Amazon interview question presents an array manipulation challenge where the goal is to transform a given sequence into a non-decreasing order. You are allowed to perform operations that involve selecting any contiguous segment of the array and adding a positive value to all elements within that segment. The core task is to achieve the non-decreasing state while ensuring the cumulative sum of all added values across all operations is as small as possible. This problem tests dynamic programming or greedy algorithm approaches and careful consideration of array prefix sums or differences. The full problem description and a detailed model solution are available with a subscription.
Coding QuestionsAmazonReverse Second Half of a List
2/5In this coding interview question reported at Amazon, candidates are asked to manipulate a sequential collection by reversing only the latter half while keeping the initial elements intact. The task requires determining the midpoint index accurately and performing the subsequence inversion efficiently. This exercise evaluates fundamental array manipulation, index calculation, and clean coding practices. Gaining access to the full problem text, edge cases, and optimal model solution requires an active subscription.
Coding QuestionsAmazonMinimum Warehouse Connection Cost
3/5This Amazon interview question examines spatial optimization and cost minimization when connecting distributed nodes to nearby infrastructure hubs. You need to calculate the optimal connection expenses for hierarchical capacities while factoring in dynamic additions to the network layout. The problem tests efficient range queries, prefix sums, and binary search techniques to handle capacity distributions rapidly. The full problem description, algorithmic breakdown, and complete solution require a subscription.
Coding QuestionsAmazonProcess Add-Remove Cart Queries
2/5This Amazon coding challenge tests your ability to simulate dynamic list operations by processing a series of insertion and deletion instructions. You will need to manage elements sequentially, handling specific removal criteria based on absolute values while preserving the integrity of the remaining collection. This task evaluates fundamental data structure handling and algorithmic efficiency under sequential queries. Review the complete problem statement and optimal solution by subscribing today.
Coding QuestionsAmazonCount Processes Executed Out of Order
3/5Analyzing execution order anomalies in event streams is a frequent algorithmic puzzle featured in technical evaluations at major technology leaders like Amazon. This challenge requires determining how many operations violated their dependency constraints by examining the divergence between a mandated workflow and its actual execution log. Solving it efficiently demands robust data structures and clever traversal strategies to verify precedence relationships without incurring prohibitive time penalties. To review the complete problem details, optimal algorithmic approaches, and clean reference code, a paid subscription is required.
Coding QuestionsAmazonSort Error Codes by Ascending Frequency
2/5A coding question on reordering a list of integers by how often each value occurs, with a fixed rule for ties. It tests careful reading of an ordering rule and handling duplicates, negative values and large inputs.
Coding QuestionsAmazonMaximize Subarray Sum After One Operation
4/5Elevate your dynamic programming and array manipulation skills with an advanced optimization challenge asked in Amazon technical interviews. This problem tasks you with selecting a specific contiguous segment within a numeric sequence and applying a multiplicative or divisive modification to maximize the resulting sum. It tests your analytical capability to weigh different transformation choices across various sub-segments. To examine the complete problem statement, mathematical insights, and an optimal model solution, unlock your paid subscription today.
Coding QuestionsAmazonBest Time to Buy and Sell Stock With Two Transactions
4/5Optimizing sequential decisions over time is a classic algorithmic theme highlighted in this interview question reported from Amazon. Given a chronological series of valuation metrics, the objective is to determine the maximum financial gain achievable through a restricted number of buy and sell operations. This puzzle evaluates your proficiency with dynamic programming state transitions and efficient array scanning strategies. Reviewing the comprehensive problem details and clean reference implementation demands an active subscription.
Coding QuestionsAmazonMake Equal Product Quality Values Contiguous
3/5Encountered in Amazon technical screens, this algorithmic challenge requires developers to reorganize a sequence of quality ratings by merging matching elements at a minimal cumulative expense. The objective is to ensure that identical values appear exclusively within unbroken, continuous segments across the collection. This puzzle tests advanced array manipulation, greedy decision-making, and cost calculation strategies to find the optimal transformation sequence. To view the complete problem statement, detailed breakdown, and efficient model code, a paid subscription is required.
Coding QuestionsAmazonCount Subarrays Where Sum mod K Equals Length
3/5Solve an algorithmic challenge reported at Amazon that involves counting specific contiguous segments within an array based on modular arithmetic and segment length properties. You will need to devise an efficient approach to evaluate subarray properties without resorting to slow nested loops. This problem assesses your ability to combine prefix sums with modular math for optimal performance. Discover the full problem details and a robust model solution by getting a subscription.
Coding QuestionsAmazonMin Operations to Sort All Packages
3/5Count the operations needed to process parcels in a prescribed order rather than in identifier order. This Amazon question is a simulation whose efficient form keeps a pointer to the next unprocessed position and only advances it, so the total work stays linear despite the nested appearance. You will track which parcels have been handled, avoid rescanning from the start, and reason about the worst-case order. Subscribers get the complete problem and the model solution.
Coding QuestionsAmazonDelete Columns to Make Sorted
2/5Presented as a practical interview scenario at Amazon, this problem requires you to analyze a grid of equally sized text sequences and determine the fewest vertical tracks that must be eliminated to guarantee non-decreasing order from top to bottom. You will need to inspect individual columns systematically and apply straightforward criteria to filter out violations. It is an excellent exercise for testing basic matrix traversal and conditional counting logic. The full problem and model solution require a subscription.
Coding QuestionsAmazonMinimum Scans to Find All Permutations
3/5Count how many left-to-right passes it takes to collect the numbers one through n in order from a shuffled arrangement. Asked at Amazon, the stated linear bound is the real constraint: simulating the passes is too slow, and the answer instead falls out of comparing the positions of consecutive values. You will map each value to its position, count how often the next value sits earlier than the current one, and handle an already-sorted input. Subscribers can read the full problem and the model solution.
Coding QuestionsAmazonSingle Number
2/5Bitwise manipulation puzzles frequently appear in early-stage technical screenings to test foundational computer science knowledge, much like those reported at Amazon. This challenge requires you to identify a solitary unique element hidden within a collection where all other values occur in exact pairs. The primary constraint is to achieve this discovery in linear time without allocating extra memory for auxiliary data structures. Recognizing the mathematical properties of specific bitwise operators is the key to unlocking an elegant and optimal implementation. Gaining access to the full problem context and optimized model code requires an active subscription.
Coding QuestionsAmazonDoes One Package Fit Every Product
2/5Decide whether one container exists that can hold every item in a list, where each item and container is described by three side lengths and items may be turned freely. Reported by an Amazon Robotics intern candidate, this question rewards the observation that sorting both triples reduces six orientations to a single comparison. You will reduce the items to one worst-case envelope, compare it against each container, and avoid the volume shortcut that silently accepts impossible fits. The full problem and the verified solution are available to subscribers.
Coding QuestionsAmazonSum of Subarray Maximums Times Length
3/5This Amazon coding challenge asks you to calculate a cumulative metric across all possible contiguous segments of a numeric array, factoring in segment bounds and peak values. It evaluates your capacity to design linear-time algorithms using monotonic structures to avoid sluggish brute-force approaches. Mastering this concept will significantly improve your skills in processing range-based array queries efficiently. To view the complete problem statement and review the optimal code solution, a subscription is required.
Coding QuestionsAmazonMaximum Vacation Days with Limited PTO
3/5Find the longest unbroken stretch of days off you can arrange when a limited number of working days may be converted. This Amazon question is the longest-window-with-at-most-k-exceptions pattern, and the window never needs to shrink by more than one step at a time. You will expand while the conversion budget holds, contract when it is exceeded, and handle a budget large enough to cover every working day. The full problem and the reference solution require a subscription.
Coding QuestionsAmazonFind Post with Maximum Likes
2/5Return the identifier of whichever post in a list collected the largest number of likes. This Amazon warm-up is a single scan with one decision worth making explicitly: what to return when two posts tie, since the statement does not say. You will track the best seen so far rather than sorting the whole list, and handle an empty collection. Subscribers can read the full problem and the reference solution.
Coding QuestionsAmazonGroup Students (AS Intern, it may apply to other interns)
3/5Group trainees into classes by skill level so that each class stays within an allowed spread. This Amazon question is a sorting-plus-greedy problem: once the levels are ordered, starting a new class only when the spread would be exceeded is optimal, which is worth proving rather than asserting. You will sort first, open classes lazily, and handle the case where every trainee has the same level. Subscribers get the complete problem and the model solution.
Coding QuestionsAmazonDays With Maximum User Traffic
3/5Featured in Amazon technical rounds, this analytical coding challenge requires determining the exact quantity of dates that experience peak concurrent user engagement based on given interval ranges. The problem evaluates your proficiency in interval sweep-line algorithms, event sorting, and efficient timeline aggregation to process overlapping periods effectively. Discover the complete problem description and optimal algorithmic implementation by subscribing today.
Coding QuestionsAmazonBeauty Values From Subarray Selections
3/5This intriguing Amazon coding challenge explores array manipulation and value comparison across overlapping index ranges to compute a unique aggregate metric. You will practice filtering active versus inactive elements and counting relative magnitudes to derive the final mathematical outcome. Discover the comprehensive problem details and step-by-step model solution by upgrading to a full subscription.
Coding QuestionsAmazonCount Subarrays With Each Integer Mean
3/5Analyze contiguous subarrays within a numerical permutation to identify how often specific integer means occur, as featured in Amazon technical assessments. This problem evaluates your analytical thinking and array manipulation skills to compute frequency distributions efficiently across sequential subsets. To explore the optimal algorithmic approach and inspect the full model solution, a subscription is required.
Coding QuestionsAmazonCircular Array Multi-Query Distance Accumulation
2/5A coding question about a ring of stops joined by weighted segments and a long list of trips between pairs of stops. It tests picking the shorter direction around the loop, handling reversed and identical endpoints, and meeting a linear time bound over the whole batch of trips.
Coding QuestionsAmazonLongest Chain with Gaps At Most K
2/5A coding question on arrays of integers: find the longest group of distinct values that can be ordered so that neighbouring values are never more than a given distance apart. Empty input, repeated values and a distance of zero all need care.
Coding QuestionsAmazonNearest Day With a Lower Price
3/5In this Amazon coding interview question, you are tasked with processing stock market histories to answer specific distance queries. Given a series of daily valuations, you must quickly locate the nearest chronological point exhibiting a strictly lower value for any requested day, resolving distance ties deterministically. This problem assesses your efficiency with array traversal strategies, stack data structures, or index mapping techniques. The complete problem description and optimal model solution are available exclusively to subscribers.
Coding QuestionsAmazonMinimum Distinct Series in a Covering Window
3/5This reported Amazon interview challenge requires finding a contiguous segment in a sequence that captures specified target elements while minimizing the variety of unique items found within that span. Candidates must carefully manage sliding boundaries and maintain frequency counts to evaluate optimal subsegments efficiently. This exercise tests your ability to manipulate array iterators and optimize range-based searches under specific constraints. Unlock the complete breakdown and optimal reference implementation with an active subscription.
Coding QuestionsAmazonMaximum Alternating Subsequence Sum
3/5This dynamic programming challenge, inspired by Amazon interview questions, requires you to find the maximum possible alternating sum from a chosen subsequence of an integer array while preserving the original relative order. The question tests your ability to optimize alternating sequence selections efficiently using state tracking. Access the complete problem statement and optimal solution by acquiring a subscription.
Coding QuestionsAmazonMaximum Product of Three Numbers
2/5This frequently asked Amazon interview question challenges you to find the highest possible product formed by multiplying any three values from a given list of numbers. To succeed, you must think beyond a naive nested loop and efficiently track the largest and smallest values, since negative elements can drastically swing the final outcome. This task evaluates your capability to optimize arithmetic logic and handle edge cases gracefully in linear time. Access to the complete problem breakdown and the optimal model solution requires a subscription.
Coding QuestionsAmazonLexicographically Largest Sequence via State Flips
3/5A coding question about picking values from an array under a changing availability mask. The task asks for the best sequence of picks and for the right behaviour when the supply runs out.
Coding QuestionsAmazonSquares of Signed Integers in Ascending Order
1/5A coding question about taking a list of signed integers in any order and returning every element's square from smallest to largest. It checks handling of negative values, zero, repeated magnitudes and the empty list, with a follow-up for input that is already sorted.
Coding QuestionsAmazonMinimum Range-Add Ops to Make Array Non-Decreasing
3/5A coding question about the cheapest way to make a list of numbers non-decreasing using range increments. The task rewards a short argument for why a simple local quantity is both necessary and sufficient, and it adds a variant with a fixed increment size.
Coding QuestionsAmazonIn-Place Merge Into a Buffered Array
2/5A coding question on combining two sorted lists of numbers into one sorted list that lives in the first list's own storage, with no separate output list. It checks careful index handling and edge cases such as empty inputs, duplicates and leftover placeholder values.
Coding QuestionsAmazonDrone Delivery on a Hub Ring — Minimum Travel
2/5A coding question about a drone circling a closed loop of hubs with different travel times between neighbours. The learner computes the cheapest total time to serve a list of stops in order, choosing the better direction on each leg.
Coding QuestionsAmazonAdd Two Numbers in Forward Order
2/5This reported Amazon interview question challenges you to compute the sum of two large numbers whose digits are presented in standard left-to-right order. Instead of parsing the entire structures into primitive integers, you must manually perform column-by-column addition while properly managing carries from highest to lowest significance. This exercise evaluates your proficiency in handling linked lists or array sequences and managing edge cases like leading zeros. Access to the complete problem breakdown and optimal implementation requires a paid subscription.
Coding QuestionsAmazonCount k-Spikes
3/5Analyzing sequential numeric data to find elements exceeding specific relative thresholds is a common theme in algorithmic assessments, highlighted by this reported Amazon interview question. The objective requires identifying items that satisfy precise comparative constraints with respect to their preceding and succeeding neighbors. Candidates must devise an efficient scanning strategy to avoid performance bottlenecks associated with naive nested iteration. This challenge evaluates your capability to optimize linear searches and handle relational array queries effectively. The full problem statement and complete model solution require a subscription.
Coding QuestionsAmazonLongest Even-Sum Subsequence
2/5Discover how to approach this engaging array manipulation problem featured in Amazon coding interviews. This challenge evaluates your ability to analyze number sequences and apply logical conditions efficiently without resorting to exhaustive searches. You will need to determine how to selectively include or exclude elements to maximize length while preserving parity constraints. To unlock the complete problem description, comprehensive test cases, and a fully explained optimal solution, a paid subscription is required.
Coding QuestionsAmazonTotal Requests After Server Replacements
2/5Simulating dynamic system updates over time is a popular format for technical assessments at companies like Amazon. This problem requires you to track shifting resource identifiers across daily operations and efficiently compute aggregated metrics for each interval. The task challenges your ability to maintain state updates and optimize lookup performance under changing conditions. Access to the complete problem text and the official model solution requires an active subscription.
Coding QuestionsAmazonMax Money from K Consecutive Bags
3/5This Amazon interview puzzle requires calculating the maximum cumulative reward obtainable within a fixed-size interval across a sparse number line. Given multiple overlapping intervals with varying point values, you must efficiently determine the optimal contiguous range without materializing massive arrays. The problem tests interval manipulation, coordinate compression, and efficient range-query algorithms. Unlock your subscription today to access the full problem details, optimal time complexity analysis, and a complete code solution.
Coding QuestionsAmazonSum of Positive Adjacent Differences
1/5Presented during technical evaluations at Amazon, this straightforward algorithmic task asks you to compute the cumulative upward shifts between consecutive elements in a numeric sequence. The problem serves as a practical exercise in linear scan techniques and mirrors financial profit maximization scenarios. View the complete problem breakdown, test scenarios, and verified model solution with a subscription.
Coding QuestionsAmazonMaximize Count Equal to K After One Subarray Add
4/5In this advanced algorithmic challenge from Amazon, you must determine the maximum frequency of a target value achievable across an array after applying a single additive modification to a chosen contiguous segment. The puzzle requires you to reframe the objective into finding an optimal subarray that maximizes net gains under specific mathematical constraints. It is an exceptional test of prefix sums and Kadane-style optimization logic. Unlock the complete problem context and detailed solution through a subscription.
Coding QuestionsAmazonMinimum Eating Speed
2/5In this Amazon interview question, you need to determine the slowest consumption rate that allows finishing a collection of numbered quantities within a given timeframe. This puzzle evaluates your proficiency with binary search techniques applied to monotonic optimization spaces. You must carefully compute time thresholds to find the optimal threshold integer without exceeding the deadline. Access the full problem details and comprehensive model solution by purchasing a subscription.
Coding QuestionsAmazonMaximum Aggregate Temperature Change
2/5In this Amazon-featured problem, you are tasked with finding the maximum aggregate temperature fluctuation across a sequence of daily measurements by evaluating prefix and suffix sums for every possible day. This question assesses your proficiency with array manipulation and optimization techniques like prefix sums to run in linear time. The complete problem statement, test cases, and a well-documented model solution require a subscription.
Coding QuestionsAmazonSum of Squares per Sublist
1/5This straightforward Amazon coding challenge is designed to test fundamental iteration and mathematical accumulation skills on nested data structures. Given a collection of numerical sublists, your task is to compute the sum of squares for each individual inner group without relying on built-in shorthand reduction functions. It serves as a great warm-up for basic list comprehension and accumulator logic. Unlock the complete problem specifications and optimal Python solution with a subscription.
Coding QuestionsAmazonSmallest Fitting Truck per Item
2/5In this reported Amazon coding problem, you must pair a series of object weights with the smallest possible container capacity that can accommodate each item. Candidates are evaluated on their proficiency with efficient searching and indexing strategies to handle constraints gracefully. The complete problem statement and optimal solution are available exclusively to subscribers.
Coding QuestionsAmazonCount Potential Final-Round Winners
2/5Frequently asked during software engineering interviews at Amazon, this engaging coding puzzle asks you to determine how many competitors could secure a first-place finish following a bonus scoring round. You are given initial standings along with a specific point distribution for the winner and runner-up, and the goal is to evaluate who can mathematically surpass all rivals. The problem tests fundamental arithmetic comparisons and array manipulation skills under performance constraints. Unlock the full problem details, edge cases, and a clean, efficient solution by subscribing today.
Coding QuestionsAmazonFirst Index With Non-Positive Prefix Sum
1/5Explore this beginner-friendly coding challenge frequently asked in Amazon technical interviews. The exercise tests your ability to efficiently analyze numerical sequences by tracking cumulative totals and identifying the exact moment a running accumulation drops to zero or below. It is a great practice problem for mastering basic array traversal and conditional checks. Access to the complete problem breakdown and optimal reference code requires an active subscription.
Coding QuestionsAmazonPivot Comparison Count
1/5This beginner-friendly interview question, frequently asked at Amazon, challenges you to evaluate a collection of numerical elements relative to a designated benchmark value. You will need to tally how many items sit above and below the reference point, subsequently delivering a categorical text result depending on which side dominates. This task examines fundamental conditional logic and basic iteration skills. To access the complete problem breakdown and the optimal model solution, a subscription is required.
Coding QuestionsAmazonClosest Version Date to a Target
2/5A coding question about choosing the nearest date from a list of release dates for a given day. It covers equal distances on both sides, unordered input and duplicate dates.
Coding QuestionsAmazonShortest Subarray With a Consecutive Repeat
2/5This Amazon interview challenge requires developers to inspect a sequence of integers and locate the most compact subsegment featuring identical adjacent values. The task assesses fundamental array iteration, pointer management, and efficient searching strategies to find matching elements within strict performance limits. It is a fantastic drill for strengthening basic pattern recognition and linear scanning techniques. Unlock the complete problem guide and optimal code solution by purchasing a subscription.
Coding QuestionsAmazonHouse Robber II
3/5Conquer a classic dynamic programming challenge featured in Amazon technical interviews, where residential buildings are arranged in a closed loop, introducing circular adjacency constraints to asset protection. You must determine the highest possible cumulative value you can extract without triggering alarms by robbing adjacent properties. This problem builds directly upon linear sequence optimization by requiring candidates to decompose the circular dependency into manageable sub-problems. Unlock the full algorithmic breakdown, complexity analysis, and verified model solution with a subscription.
Coding QuestionsAmazonStock Trading Profit Calculator
3/5A coding question about computing the best possible trading profit from a series of daily prices. The learner handles two modes behind one function: a single buy and sell, and repeated trades where every sale costs a fee.
Coding QuestionsAmazonMax Protected Population After One-Step-Left Relocation
4/5Featured in rigorous interview loops at Amazon, this advanced optimization problem challenges you to strategically shift protective assets leftward across a linear population array to maximize the aggregate resident count residing within secure zones. The task examines your aptitude for greedy decision-making, array manipulation, and range-based evaluation under conditional movement constraints. Explore the complete problem breakdown and the detailed step-by-step solution with a subscription.
Coding QuestionsAmazonShortest Path Between Circular Drone Hubs
2/5This Amazon interview challenge requires you to compute the shortest traversal distance between various nodes arranged in a circular topology by comparing clockwise and counter-clockwise pathways. It tests your ability to handle ring-based array indexing and efficiently process batch queries for optimal path selection. Unlock the full problem details and the clean model solution with a subscription.
Coding QuestionsAmazonPasses to Arrange Packages in Sequence Order
3/5This Amazon interview question evaluates your ability to manipulate and track elements within a shuffled collection through repeated sequential iterations. You will need to design an efficient algorithm that determines how many full passes are necessary to organize items in their proper ascending order based on specific conditional rules. This challenge tests your comprehension of array traversal patterns and simulation efficiency. Unlock the complete problem description and expert model solution by purchasing a subscription.
Coding QuestionsAmazonMinimum Distinct Distribution Centers
3/5This algorithmic puzzle frequently asked at Amazon tests your resource optimization and sequence analysis skills. You must determine the minimal number of distinct operational nodes required to satisfy a sequential series of changing demands governed by relative comparison rules. This problem assesses your analytical thinking and ability to model monotonic constraints efficiently. Unlock the full problem specifications and optimal coding approach with our subscription.
Coding QuestionsAmazonMax Points From K Consecutive Sprint Days
3/5This frequently asked Amazon interview question challenges candidates to optimize a score calculation over a repeating sequence of athletic periods. You will need to efficiently evaluate a fixed-length window that wraps around cyclical boundaries to maximize accumulated rewards. The problem tests your ability to handle circular arrays and apply sliding window techniques on large data scales. To see the complete problem statement, optimal algorithmic breakdown, and a fully tested model solution, unlock the full platform with a subscription.
Coding QuestionsAmazonIn-Place Merge of Two Sorted Arrays
2/5As featured in Amazon interview sessions, this classic array manipulation challenge requires combining two sorted collections directly within the primary container without allocating auxiliary memory. It tests your understanding of backward traversal strategies, pointer manipulation, and maintaining sorted order under strict space complexity constraints. This problem is a fundamental test of low-level data structure handling. Access the complete problem description and optimized reference code through our subscription plan.
Coding QuestionsAmazonMinimum Swaps for Lightest-Top Heaviest-Bottom
3/5This reported Amazon interview question challenges you to find the minimum number of adjacent position adjustments needed to place the lightest item at the very beginning and the heaviest item at the very end of an array. This puzzle tests your grasp of greedy strategies, sequence manipulation, and efficient counting techniques on sequential collections. Tackling this problem helps improve your ability to optimize rearrangement operations. To explore the complete problem statement and review the optimal model solution, a subscription is required.
Coding QuestionsAmazonMinimum Suffix Operations to Reach a Target
3/5This interview question, frequently asked at Amazon, challenges candidates to find the fewest modifications needed to transform an array of integers so that every value matches a specified target. Participants must carefully manage overlapping adjustments across subarrays to optimize their counting strategy. Solving this puzzle tests your ability to apply greedy algorithms and efficiently manipulate sequential data structures under constraints. Access to the complete problem breakdown and expert model solution requires a subscription.
Coding QuestionsAmazonCount Groups With Exact Workload Spread
3/5This interview problem, reported by candidates interviewing at Amazon, challenges you to analyze a sequence of values and find contiguous segments that satisfy a precise range constraint between their maximum and minimum elements. The puzzle tests your ability to optimize subarray queries efficiently using monotonic data structures or sliding window techniques rather than brute-force loops. It is a fantastic exercise for sharpening algorithmic thinking around range queries. Unlock the complete problem statement and optimal solution by purchasing a subscription.
Coding QuestionsAmazonMax Consecutive ON Servers After k Flips
2/5Reported as an interview question at Amazon, this challenge requires you to find the longest uninterrupted sequence of active elements in a binary collection after flipping a limited number of inactive items. The task assesses your mastery of the two-pointer technique or sliding window paradigm to efficiently manage constrained resource modifications within an array. Working through this puzzle will sharpen your ability to optimize sequential searches and handle boolean state transformations. Gain access to the complete challenge details, algorithmic hints, and a robust model solution through a paid subscription.
Coding QuestionsAmazonMinimum Prefix Operations to Zero the Array
3/5This Amazon interview question challenges you to transform an array of integers into all zeros using the minimum number of range modification operations applied to sequential prefixes. You will need to design an efficient algorithm that determines how to incrementally adjust elements without performing redundant modifications across overlapping boundaries. The problem evaluates your greedy algorithmic thinking and ability to manipulate numeric sequences effectively. Unlock the complete problem details and the optimal model solution with a paid subscription.
Coding QuestionsAmazonCount Subarrays With Endpoint Maximum
3/5Encountered in Amazon technical interviews, this task challenges you to analyze a sequence of values and identify contiguous segments where the peak element sits at either boundary. Solving this efficiently demands clever utilization of monotonic stacks or range-max queries to evaluate subarray bounds without excessive computational overhead. It is an excellent test of advanced array manipulation and algorithmic optimization skills. Unlock the full problem details and comprehensive model solution with a subscription.
Coding QuestionsAmazonDetect Duplicate Within a Sliding Window
2/5This Amazon interview question asks you to examine a continuous stream of identifiers to spot any repeating values occurring within a fixed sliding distance. The problem evaluates your ability to maintain rolling data structures, such as hash sets or frequency maps, to efficiently check membership constraints over moving subranges. Developing an optimal linear-time approach is crucial for handling large data streams. Access the complete problem description and model solution with a subscription.
Coding QuestionsAmazonIn-Place 0/1/2 Sort
2/5Encountered in Amazon coding interviews, this classic rearrangement task requires organizing a collection containing only three distinct integer categories directly in memory. The objective is to group identical elements contiguously using constant extra storage and linear time execution. It tests your mastery of pointer manipulation techniques, such as partitioning algorithms designed to handle repetitive keys efficiently in a single pass. To review the full problem statement, test harnesses, and expert implementation, a subscription is required.
Coding QuestionsAmazonApply Price Adjustment Queries
2/5This Amazon coding challenge requires you to manage a dynamic collection of numerical values subject to two distinct types of update operations. You must efficiently handle targeted index assignments alongside batch floor-raising modifications that elevate any values below a threshold. The problem evaluates your command over data structures, algorithmic complexity optimization, and range-update management. Discover the full problem statement and complete, tested model solution by upgrading to a paid subscription.
Coding QuestionsAmazonMinimum Subarray Increments to Form Target
3/5Determining the fewest modification steps needed to transform a blank numeric sequence into a desired goal array is a fascinating algorithmic challenge. Frequently featured in Amazon technical rounds, this problem evaluates your grasp of range-based updates and sequence transformation patterns. Crafting an efficient approach requires recognizing underlying numerical properties to minimize redundant operations. To view the full problem statement along with the complete model implementation, a subscription is required.
Coding QuestionsAmazonIdle Skills Per Query Window
3/5This Amazon coding problem challenges you to track inactive competencies across multiple sliding time windows given a stream of historical request logs. Candidates must design an efficient lookup strategy to count how many skills remained completely untouched during specific historical intervals. The exercise evaluates your proficiency with interval manipulation, timeline processing, and time-complexity optimization. Gain access to the full problem statement and optimized model solution by upgrading your account.
Coding QuestionsAmazonMinimum Machines Preserving Efficiency Score
3/5This reported Amazon interview question challenges you to streamline a series of performance levels by eliminating elements without altering their sequence or changing the overall fluctuation metric. You will need to apply clever array processing techniques to determine the fewest items required to preserve the exact operational signature. This problem thoroughly tests your ability to optimize sequential data and handle edge cases where reductions are impossible. To explore the complete problem statement and review an optimal model solution, unlock full access with a subscription.
Coding QuestionsAmazonFind Ideal Camping Days
3/5Discovering specific calendar dates with optimal weather trends is a fascinating algorithmic puzzle frequently featured in technical assessments at Amazon. This challenge evaluates your ability to efficiently analyze sequential data by identifying specific periods where values transition from decreasing to increasing across defined sliding windows. You will need to design an optimized approach to scan through sequential elements without resorting to inefficient brute-force methods. To unlock the complete problem description, comprehensive test cases, and a fully optimized model solution, a paid subscription is required.
Coding QuestionsAmazonAPI Calls to Match Target Review Counts
2/5Encountered during technical evaluations at Amazon, this algorithmic puzzle challenges you to calculate the aggregate operational cost required to adjust a collection of numerical data points to match multiple specified targets. Your objective is to compute the total adjustment effort for each goal efficiently across an entire dataset. This exercise evaluates your ability to leverage sorting, prefix sums, or mathematical transformations to optimize what would otherwise be a costly brute-force approach. To view the full problem description and expert solution, a paid subscription is required.
Coding QuestionsAmazonMinimum Replacements to Make Array Contiguous
3/5A coding question about replacing values in an array so that equal values end up side by side. The task is to count the fewest bulk replacements needed, which depends on how the positions of different values interleave.
Coding QuestionsAmazonMaximum Number of Days to Survive
2/5A coding question on simulating a borrower whose daily loan must be paid back out of the following day's loan. The task is to count how many days pass before the cash on hand first falls short of the repayment due.
Coding QuestionsAmazon
Array questions at Meta
Calculate Sum and Product
2/5Return both the total and the running product of a list of integers from a single routine. This Meta warm-up is about care rather than cleverness: a zero anywhere collapses the product, negatives flip its sign, and the product grows far faster than the sum as the list gets longer. You will accumulate both in one pass, choose sensible values for an empty list, and comment on the magnitude the product can reach. Subscribers can read the full problem and the reference solution.
Coding QuestionsMetaValid Sudoku Without Hash
3/5Check a filled Sudoku grid for rule violations across rows, columns, and boxes, with hash-based containers explicitly off the table. This Meta question turns a routine validation into a representation puzzle: without a set, the natural answer is a fixed-size boolean array or a bitmask per group. You will index the nine boxes correctly from row and column, skip blank cells, and keep the whole check to a single pass. The complete problem and the model solution are available with a subscription.
Coding QuestionsMetaSum of Elements Between Two Numbers
2/5Add up the entries of an unsorted array that fall inside an inclusive range of values. This Meta warm-up is one pass, and the only things to settle are whether the bounds are inclusive at both ends and what happens when the range is empty or inverted. You will avoid sorting, which buys nothing here, and say when sorting would pay off if the query repeated many times. A subscription unlocks the full problem and the reference solution.
Coding QuestionsMetaReverse Elements in Array
2/5Reverse the portion of an array lying between two given positions, and survive every bad argument the caller might pass. This Meta question is explicitly about the guards: positions out of order, positions outside the array, and a missing array altogether are all named in the statement. You will swap inward from both ends, decide whether to clamp or reject invalid positions, and leave the rest of the array untouched. A subscription unlocks the full problem and the reference solution.
Coding QuestionsMetaClosest Land Mark
2/5Find the distance from a given number to the nearest term of the Fibonacci sequence. This Meta question is a generate-and-compare exercise, and the growth rate is the thing that makes it easy: the terms climb so fast that only a few dozen are ever relevant. You will generate until you pass the target, compare the neighbours on both sides, and handle a target that is itself a term. A subscription unlocks the complete problem and the reference solution.
Coding QuestionsMetaImplement Modified Intersection
2/5Return every value that appears in either of two integer arrays, each one listed once. This Meta warm-up is deliberately the mirror image of the intersection question, so the interviewer is checking that you read which operation was asked for. You will combine both inputs into one collection of distinct values, decide whether the output order matters, and handle an empty array on either side. The complete problem and the reference solution are available to subscribers.
Coding QuestionsMetaRank Stories and Filter by Offset
3/5Return a minimum number of top-ranked stories from a source that hands back only a few at a time and may repeat itself. This Meta question is about the loop around an unreliable producer: you call it repeatedly, accumulate what it gives you, and stop once you have enough distinct results. You will deduplicate across calls, apply the offset after ranking rather than before, and avoid an unbounded loop when the source dries up. Subscribers get the complete problem and the model solution.
Coding QuestionsMetaWiggle Sort
3/5Rearrange an array so that its values rise and fall alternately from one position to the next. This Meta question has a tidy linear answer that surprises people who reach for a sort first: a single pass that swaps any neighbouring pair pointing the wrong way is enough, and the fix never breaks the pair before it. You will prove that local swaps suffice, handle arrays with repeated values, and cover the one- and two-element cases. Subscribers can read the complete problem and the model solution.
Coding QuestionsMetaMerge Three Sorted Arrays Without Duplicates
2/5Featured in technical rounds at Meta, this exercise requires you to combine three pre-sorted collections of integers into a single ordered sequence while eliminating duplicate entries. Instead of brute-force sorting, you must utilize multi-pointer traversal techniques to merge the data in linear time and space proportional to the output. The task evaluates your pointer manipulation skills and efficiency considerations. Reviewing the complete prompt and the optimal algorithmic implementation requires a subscription.
Coding QuestionsMetaFind a Local Minimum in an Array
2/5This Meta interview question challenges you to locate any element in an unsorted array that is smaller than both of its immediate neighbors using a logarithmic time approach. By leveraging modified binary search principles on unordered data, you must strategically decide which half of the array to discard based on local slope evaluations. It tests your deep comprehension of binary search invariants and boundary condition handling. Access to the full problem text and the optimized code solution requires a subscription.
Coding QuestionsMetaCount Distinct Values in a Sorted Array When K Is Small
3/5A coding question on a sorted list that holds a huge number of repeated entries but only a handful of different ones. You count the different entries while reading far fewer elements than the list contains, then reason about when that saving stops paying off.
Coding QuestionsMetaContainer with insert and popRandom
3/5A data-structure design question about a collection that stores distinct values and can return a uniformly chosen member while deleting it. It is about combining two structures so that lookup, insertion, and uniform sampling with removal all stay constant time, and keeping their bookkeeping consistent.
Coding QuestionsMetaMajority Element
2/5Find the one value that occupies more than half the positions of an array, given that such a value is guaranteed to exist. This Meta question is asked to see whether you know the constant-space voting technique rather than the obvious counting map: a single candidate and a running balance are enough. You will explain why the cancellation argument works, and note what changes if the guarantee is removed. A subscription unlocks the full problem and the model solution.
Coding QuestionsMetaPython Function for Data Processing
2/5Filter a list of sales records down to the distinct customers who spent above a threshold in a particular year. This Meta question is everyday data work with three conditions to combine, and the date handling is where most of the errors live. You will parse the date robustly rather than slicing the string blindly, deduplicate the names, and decide whether the output order is specified or your choice. The complete problem and the reference function are available to subscribers.
Coding QuestionsMetaFind Index of Maximum Number in List with Duplicates
2/5Return a position holding the largest value in an unsorted list, where the largest value may occur more than once. This Meta warm-up is a single scan, and the only decision worth stating is which position you return when the maximum repeats, since the problem explicitly allows any of them. You will keep the comparison strict or loose on purpose, avoid a second pass, and handle a single-element list. A subscription unlocks the full problem and the reference solution.
Coding QuestionsMetaDinosaur Speed: Time-Window Sensor Pairing
3/5This classic Meta production engineering interview scenario involves synchronizing timestamp streams captured by physical sensors positioned at a fixed distance apart. You must pair chronologically aligned events within a realistic threshold window to calculate velocity metrics for moving objects. The challenge tests your interval matching, sorting, and time-series data processing capabilities under performance constraints. Unlock the full problem guide and optimized code solution by subscribing.
Coding QuestionsMetaContinuous Subarray Sum
3/5A coding question on arrays and remainders: decide whether any stretch of at least two consecutive numbers adds up to an exact multiple of a given divisor, including the special case where the divisor is zero. It stresses edge-case handling and a linear-time scan.
Coding QuestionsMetaLocate a Local Maximum in an Array
4/5A coding question about finding a position in a list whose value beats the values next to it, while reading only a small number of entries. A follow-up asks for the same thing in a two-dimensional grid.
Coding QuestionsMetaSelect the k-th Largest Value
3/5A coding question on picking the k-th largest number out of an unsorted list, implemented in two different ways. It also asks how the answer could be maintained as new values keep arriving.
Coding QuestionsMetaCount Subarrays With a Target Sum
3/5A coding question on counting the stretches of consecutive numbers in a list that add up to a given total, where values can be negative or zero. The learner returns how many such stretches exist.
Coding QuestionsMetaSparse Vector Dot Product
2/5This classic Meta interview question focuses on optimizing mathematical operations for highly sparse datasets where most values are zero. Instead of using standard matrix multiplication, candidates must design a compact data structure and an efficient algorithm to compute the dot product of two vectors by only evaluating meaningful non-zero entries. This challenge examines your knowledge of memory-efficient representations and algorithmic optimization techniques. Gain access to the full problem breakdown and a clean, tested solution by subscribing.
Coding QuestionsMetaPlan Round Trip With Minimum Flight Cost
3/5Examine this Meta-reported interview question that tasks you with scheduling a journey by picking an optimal departure and return timeframe to minimize overall expenses under strict sequential conditions. This problem evaluates your ability to leverage prefix or suffix tracking techniques to evaluate paired options efficiently without resorting to brute-force nested iterations. You will discover how to handle custom tie-breaking rules while optimizing costs. Unlocking the thorough problem analysis and verified code solution requires a paid subscription.
Coding QuestionsMetaCount Card Triples Summing to Fifteen
2/5Presented in Meta technical screens, this engaging card-game puzzle requires you to find the total number of unique index triplets whose corresponding numeric values add up to a fixed target sum. The exercise evaluates your ability to optimize nested loops and leverage frequency counting or hashing to reduce time complexity. Designing an efficient lookup strategy is crucial for passing larger datasets within time limits. To view the complete problem statement and discover the optimal solution, a paid subscription is required.
Coding QuestionsMetaWeighted Index Pick via Prefix Sums
3/5Master a clever probabilistic sampling technique frequently discussed in software engineering interviews at Meta. Given an array of positive weights, the objective is to select indices proportional to their relative weight values efficiently. This exercise evaluates your understanding of cumulative frequency arrays, binary search applications, and how to optimize repeated query performance in randomized algorithms. The full problem and model solution require a subscription.
Coding QuestionsMetaFind Pair Closest to K
2/5Find the two values in a sorted array whose sum lands nearest a target, where the best pair may overshoot the target rather than fall short. This Meta phone-screen staple is a two-pointer walk, and the detail that catches people is that closeness is absolute: a sum above the target can beat one below it. You will converge the pointers correctly, track the best distance seen, and settle how ties between equally close pairs resolve. The full problem and reference solution are available with a subscription.
Coding QuestionsMetaSmallest number constructed by odd digits
2/5Pull only the odd digits out of a number and rearrange them into the smallest value they can form. This Meta screening question is deliberately easy and still separates candidates on care: the digits must be selected, then ordered, and the input can run to a thousand digits so string handling beats arithmetic. You will decide how to treat repeated digits and why sorting ascending is sufficient here. The complete problem and the reference solution are available to subscribers.
Coding QuestionsMeta
Array questions at Google
Serialize and Deserialize List of Strings
3/5Write a pair of routines that pack a list of arbitrary strings into one string and recover the original list exactly. Asked at Google, this is a framing problem rather than a string problem: any separator you pick can appear inside the data, so the encoding has to carry lengths or escape characters. You will choose a scheme, argue that it is unambiguous for every possible input, and handle empty strings and an empty list. A subscription unlocks the full problem and the model solution.
Coding QuestionsGooglePiano Hand Movement Grouping
3/5This Google interview question evaluates your algorithmic thinking by simulating hand displacements across a sequence of musical instrument targets. You must determine the minimal number of repositioning actions required to cover a given set of indices, while a follow-up layer asks you to reconstruct and output the specific groupings formed between movements. The challenge highlights efficient array scanning and state tracking techniques. Access the comprehensive problem details and model solution by getting a subscription.
Coding QuestionsGoogleGolden Chain Split After Removing One Link
1/5A beginner coding question on cutting a sequence at one position and comparing the two pieces that remain. It checks careful index handling and boundary cases.
Coding QuestionsGoogleChunking with an Unsplittable Header
3/5Split a payload plus an indivisible header into as few transmission chunks as possible under a size cap. This Google question has a short greedy answer and one genuine impossibility case: a header larger than the cap can never be sent. You will decide whether the header shares its chunk with payload bytes, fill the remaining chunks to the cap, and report the optimum split rather than just its size. The full problem and the reference solution require a subscription.
Coding QuestionsGoogleSum of Good Subarrays (Adjacent Diff ±1)
3/5Featured in a Google coding evaluation, this problem requires you to calculate the aggregate sum of all contiguous subarrays whose elements change by a constant step of either plus or minus one between adjacent positions. Achieving an efficient linear time complexity is the core hurdle, demanding advanced array traversal and mathematical accumulation insights. It evaluates your proficiency in recognizing sequential patterns and maintaining running calculations dynamically. Access to the full problem description and comprehensive model solution requires an active subscription.
Coding QuestionsGoogleHorizontal Cut That Halves the Area of Rectangular Cakes
3/5A coding question about slicing a collection of axis-aligned rectangles with a single straight line so that both sides hold equal total area. The answer must be precise when several lines qualify, and the follow-up asks for a method whose cost does not grow with how spread out the rectangles are.
Coding QuestionsGoogleDesign Bookshelf Class
3/5Design a shelf that holds books in order and supports adding, removing, and relocating a title to a chosen position. Asked at Google, this is an interface-design question where the specification deliberately says that absent titles are ignored rather than raising. You will choose the backing structure with the operation costs in mind, define what an out-of-range position does, and decide whether duplicate titles are allowed. Subscribers get the complete problem and the reference class.
Coding QuestionsGoogleScore Points
2/5Score a row of cells where occupied cells pay their own value and every adjacent occupied pair pays a bonus. This Google question is a single scan once you see that the pair bonus can be charged when the second of the pair is reached, which removes any need to look ahead. You will accumulate both components together, keep the adjacency test local, and handle a board with no occupied cells. A subscription unlocks the full problem and the reference solution.
Coding QuestionsGoogleRelative Sort (Google Singapore)
3/5Count the fewest position-wise exchanges between two arrays that leave both of them strictly increasing. Asked at Google, this is a dynamic-programming walk along the positions where each step remembers only whether the previous position was swapped. You will test both options against both predecessors, detect the arrangements that cannot be fixed at all, and keep the state to two numbers. Subscribers get the full problem and the model solution.
Coding QuestionsGoogleMost Booked Hotel Room
3/5Replay a chronological log of room bookings and releases across a small hotel and report which room was taken the most times. Asked at Google, the question is a counting exercise with a deliberately specified tie rule, and the room labels make the index arithmetic worth getting right. You will track per-room counts, ignore the releases for counting purposes, and resolve ties the way the specification demands. A subscription unlocks the complete problem and the reference solution.
Coding QuestionsGoogleMerge Overlapping Shifts into an On-Duty Schedule
3/5A coding question about turning a list of overlapping work shifts into one timeline. For every stretch of time you report who is on duty, including stretches where nobody is, and you must decide carefully what happens at the edges of each shift.
Coding QuestionsGoogleMerge Two Sequences Preserving Each Order
3/5A coding question on combining two integer sequences into one list with no repeated values while keeping the relative order inside each sequence. It asks whether a merge exists, when it is unique, and how to get the lexicographically smallest one.
Coding QuestionsGoogleCoins Collected Before the First Wall
1/5A coding warm-up about a token walking along a row of cells. The learner returns how many coins it picks up before its path is blocked, handling an empty row and a blocked first cell.
Coding QuestionsGoogleMaximum Contiguous Subarray Sum
3/5A coding question on scanning a list of positive and negative integers to find the run of adjacent values with the largest total. The learner returns that total and the run's start and end positions, following a stated rule for ties.
Coding QuestionsGoogleMaximum Profit Along Forward Jumps
3/5A coding question on walking along a sequence where each position lets you collect a reward and leap forward by a position-specific distance, or move on one step. The goal is the largest total reward, with negative rewards, jumps past the end and long inputs to handle.
Coding QuestionsGoogleTime to Type a String
2/5A coding question about a one-row keyboard where moving the finger between two keys costs their distance. Given the layout and a word, work out the total time to type it, starting from the first key.
Coding QuestionsGoogleApply Many Range Additions to an Array
3/5A coding question on batch updates to an array: each update adds a value across a span of indices, and you must return the final contents. It checks that you handle overlapping spans, negative amounts and an optional starting array within tight time limits.
Coding QuestionsGoogleMaximum Subarray Endpoint Score
3/5A coding question on scoring contiguous ranges of an integer list by rewarding the two end values and penalizing the values between them. It asks for the best achievable score, its location with a defined tie rule, and a strict linear-time, constant-space budget.
Coding QuestionsGoogleIn-Place Array Modification (details unspecified)
2/5This Google interview question focuses on optimizing memory usage while transforming data structures directly within strict spatial constraints. Candidates are evaluated on their ability to manipulate arrays without allocating auxiliary memory, requiring a deep understanding of pointer manipulation and algorithmic efficiency. The exercise tests your capacity to handle edge cases while maintaining constant auxiliary space complexity. Gain access to the full problem statement and expert solution by purchasing a subscription.
Coding QuestionsGoogleImplement Binary Search
2/5A coding question about locating a value in a large ordered list of integers and returning its position, or a sentinel when it is missing. It checks boundary handling and whether the search avoids reading the whole input. A subscription unlocks the full statement and reference answer.
Coding QuestionsGoogleMax Coins Collected by Jumping Over Tokens
4/5Encountered in Google interview processes, this algorithmic puzzle asks you to navigate an array with variable jump lengths to maximize your accumulated score, which includes both rewards and penalties. It tests your dynamic programming skills, pathfinding logic, and optimization strategies over sequential choices. Unlock the complete problem details and clean model solution by subscribing.
Coding QuestionsGoogleFind Timed-Out Activities
2/5This Google interview question asks you to evaluate a continuous stream of timestamped actions to identify which entities have exceeded an inactivity threshold. It tests your proficiency in managing state and tracking temporal gaps efficiently in dynamic datasets. Unlock the full problem description and complete solution with a paid subscription.
Coding QuestionsGoogleRotate an n x m Matrix 90 Degrees Clockwise
2/5Frequently encountered in Google technical screens, this exercise requires you to take a rectangular grid of arbitrary dimensions and transform its orientation by turning it a quarter-turn clockwise. It tests multidimensional array indexing and spatial awareness without relying on square matrix constraints. To read the full problem description and explore the model solution, subscribe today.
Coding QuestionsGoogleLongest Increasing Subarray After Changing One Element
3/5A coding question on arrays and contiguous runs. You may rewrite a single element to any integer, and you must report how long the longest strictly rising stretch can become. Careful reasoning about gaps between neighbouring values and edge positions is required.
Coding QuestionsGoogleConsolidate Overlapping On-Call Rotations
3/5A coding question about turning a list of overlapping time ranges into a schedule that changes only when the set of people covered changes. It tests careful handling of boundaries, duplicates and ordering of the output.
Coding QuestionsGoogleSubarray Sum Equals K (Streaming Follow-up)
3/5A coding question on counting contiguous ranges that reach a specified total in both stored and incremental data. It tests correctness with negative values, repeated totals, empty input, and persistent state.
Coding QuestionsGoogle
Array questions at Snowflake
Unequal Elements
3/5Select the longest subsequence of a skills list that changes value no more than a permitted number of times between neighbours. This Snowflake question is a dynamic-programming problem whose state has to hold both the value you ended on and how many changes you have spent. You will define that state precisely, iterate over the distinct values rather than the positions, and handle a budget of zero. Subscribers get the complete problem and the model solution.
Coding QuestionsSnowflakeSimple TypeScript Program
2/5Map a list of strings to a list holding the length of each one, written in a typed dialect of JavaScript. This Snowflake warm-up takes one line and is still asked, because it shows whether you type the signature properly and whether you reach for a mapping operation rather than an index loop. You will keep the input untouched, type both the parameter and the return value, and handle an empty list. A subscription unlocks the complete problem and the reference solution.
Coding QuestionsSnowflakeSelecting Stocks
3/5Choose at most one share of each company within a fixed budget to maximise the predicted year-end gain. This Snowflake question is a zero-one knapsack with a profit that can be negative, and the detail that catches people is sweeping the budget in the right direction so each item is used once. You will define the state over remaining funds, skip items that cannot improve the result, and handle a budget too small for anything. A subscription unlocks the complete problem and the model solution.
Coding QuestionsSnowflakeCross the Threshold
3/5Find the largest uniform reduction you can apply to a set of particle energies while keeping their clamped total at or above a required level. Asked at Snowflake, the clamping at zero makes the total a monotone step function of the reduction, which is exactly the structure a binary search needs. You will prove monotonicity before searching, bound the search range sensibly, and handle the case where even a zero reduction misses the target. The full problem and the model solution require a subscription.
Coding QuestionsSnowflakeDetermine Employees to Promote
3/5Total each employee's contributions across projects, rank them, and select the top slice indicated by a promotion ratio. This Snowflake question is aggregation followed by sorting, with the ratio turning into a count that has to be rounded one way or the other. You will decide how the ratio maps to a headcount, settle ties in the ranking, and produce both the full ordering and the selected group. The complete problem and the reference solution are available to subscribers.
Coding QuestionsSnowflakeCustom-Sorted Array
3/5Count the fewest arbitrary swaps that move every even value to the front of an array and every odd value to the back. This Snowflake question is simpler than it looks once you see that any swap can fix two misplaced values at once: the answer is just the number of even values sitting in the odd region. You will count the misplacements on one side, avoid simulating the swaps, and handle an array of a single parity. A subscription unlocks the full problem and the model solution.
Coding QuestionsSnowflakeServer Investment
3/5Decide how many machines across several sites you can afford to harden, where each site has its own budget, its own upgrade price, and the option to sell hardware to raise cash. Asked at Snowflake, the twist is that selling at one site funds nothing at another, so the greedy choice has to be made per site and then compared globally. You will work out when selling is worth it, cap purchases by inventory, and avoid the trap of pooling the budgets. A subscription unlocks the full problem and the model solution.
Coding QuestionsSnowflakeCalculate Amount Paid in Taxes
1/5In this Snowflake coding interview task, you are tasked with calculating progressive income tax liabilities across a tiered structure of varying brackets and percentages. Candidates must iteratively compute portions of a financial figure that fall into successive boundaries until the total levy is accurately accumulated. This question serves as a straightforward yet practical test of conditional logic and numerical iteration. Access the full problem walkthrough and verified solution by subscribing today.
Coding QuestionsSnowflakeSET Card Game: Validate a Triple and List All Sets on the Table
2/5A coding round based on a classic pattern-matching card game in which each card carries several attributes. You first decide whether a small group of cards follows the game's matching rule, then find every valid group on a table. The follow-up asks you to beat the obvious cubic search with a hashing idea, and to avoid counting the same group more than once.
Coding QuestionsSnowflakeNearest Marker Distance for Every Position
2/5A string question: for each position, find how far away the closest copy of a given character is, handling the case where it never appears. A discussion follow-up asks how the answer changes when the characters arrive as a stream.
Coding QuestionsSnowflakeDesign a Circular Queue
2/5As featured in Snowflake interviews, this coding challenge requires the implementation of a fixed-capacity circular queue data structure supporting standard linear FIFO operations in a wraparound ring. The task evaluates your command over pointers, index arithmetic, and edge-case management when handling buffer overflows and underflows. Successfully building this structure strengthens foundational computer science concepts. To access the full prompt, detailed method requirements, and clean source code solution, a paid subscription is required.
Coding QuestionsSnowflakeCombine Overlapping Busy Periods
3/5A coding question on calendar data: given busy periods that may overlap or share an end point, produce the equivalent list of separate periods in order. It checks contained periods, touching periods, zero-length periods and leaving the caller's data unchanged.
Coding QuestionsSnowflakeSingle Query Type, Max Revenue in K Minutes
2/5This Snowflake interview question challenges you to optimize resource allocation by evaluating multiple options under a strict time constraint. You must determine which single operation yields the highest financial return when executed repeatedly within a given duration limit. The problem tests your ability to apply basic arithmetic and comparison logic efficiently to find the optimal choice. Unlock the complete problem description and expert model solution by securing a paid subscription today.
Coding QuestionsSnowflakeReachable K-in-a-Row Board Position
3/5A coding question about square-grid games where two players alternate placing marks and a straight run of a given length wins. You decide whether a supplied position could have come from a legal game that stops at the first win.
Coding QuestionsSnowflakeGroup Colored Records Using Only Swaps
3/5A coding question about rearranging a collection of red, green and blue records that can only be read one position at a time and changed by swapping two positions. The learner must group the colors in order while staying within a strict limit on reads and swaps.
Coding QuestionsSnowflakeForest Parent Array: Delete a Node
2/5A coding question on removing one node from a forest stored as a parent array. The result must renumber the remaining nodes and still describe a valid forest, with the original list left as it was.
Coding QuestionsSnowflake
Array questions at Capital One
Evaluate arithmetic equations from parallel arrays
1/5An easy warm-up coding task on validating many small sums and differences stored position by position across several lists. Each position carries an operator symbol that decides how its numbers combine before being compared with an expected value. The point is clean single-pass iteration and deciding how unexpected operator symbols are reported.
Coding QuestionsCapital OneString Array Transformation
2/5Transform a list of strings in two different ways depending on whether each one has an odd or an even length. This Capital One warm-up is trivial to describe and still catches people who mutate the input list or who reverse and lowercase the same entry. You will apply exactly one rule per string, preserve list order, and decide how a single-character string is treated. Subscribers can read the full problem and the reference solution.
Coding QuestionsCapital OneRotate Matrix Over Diagonals
3/5Apply a diagonal reflection to a square matrix a given number of times and return the result. This Capital One question is mostly about noticing that the operation repeats: reflections compose, so a large number of turns reduces to a small remainder rather than a long loop. You will work out the cycle length, implement one reflection cleanly in place or into a copy, and confirm which cells never move. Subscribers get the complete problem and the reference solution.
Coding QuestionsCapital OneCount Numbers With One Different Digit
3/5Count the pairs of numbers in a list that have equally many digits and differ in exactly one position. This Capital One question rewards a hashing idea over the quadratic comparison: replacing each digit in turn with a wildcard gives keys that collide precisely for the pairs you want. You will group by those masked keys, convert group sizes into pair counts, and avoid counting a pair twice across different masks. A subscription unlocks the complete problem and the reference solution.
Coding QuestionsCapital OneDynamic Two-Array Pair Sum Queries
3/5Answer repeated questions about how many cross-array pairs reach a target sum, while one of the arrays keeps changing underneath you. This Capital One assessment is about maintaining a structure rather than recomputing: a frequency map over one array turns each count query into a scan of the other, and each update is a small adjustment to that map. You will keep the map in step with the updates and reason about which array should be the indexed one. A subscription unlocks the full problem and the reference solution.
Coding QuestionsCapital OneCumulative Views Reach Target Day
1/5This Capital One interview question evaluates your ability to process sequential data and track running totals efficiently. You will need to determine the precise point in a collection where a specific cumulative threshold is achieved or surpassed under given constraints. The task tests fundamental looping concepts and boundary handling for missing targets. Access to the comprehensive problem description and complete verified solution requires an active subscription.
Coding QuestionsCapital OneWarehouse Package Routing with Closures and Capacity Resets
2/5A coding question on simulating a stream of routing events over a set of warehouses with limited capacity. It checks careful state tracking across capacity refills and permanent closures, a precise tie-break rule, and handling the case where nothing can accept work.
Coding QuestionsCapital OneLaser Grid Robot Max Safe Run
2/5A coding question about a robot on a grid where each hazard wipes out a full row and column. It checks careful boundary handling, a protected starting cell, and choosing the best of four directions.
Coding QuestionsCapital OneOdd Zero-Digit Count
1/5String manipulation and digit extraction form the core of foundational coding evaluations, exemplified by this reported Capital One interview question. The challenge involves examining a collection of numeric values to determine how frequently specific character patterns appear within their decimal representations, applying unique parity conditions to tally the final result. This exercise tests your ability to handle basic arithmetic conversions, conditional logic, and edge cases gracefully. It serves as a great warm-up for validating fundamental programming proficiency. The complete problem statement and detailed model solution require a subscription.
Coding QuestionsCapital OneA/P Replacement Rounds
3/5Reported as a Capital One technical interview challenge, this puzzle simulates a sequential string transformation game governed by strict priority rules involving character frequency thresholds. The objective is to compute the total number of iterations needed before the sequence reaches a stable terminal state. This problem tests your ability to implement custom simulation logic efficiently while managing trailing patterns. Access to the complete problem instructions and the official model solution requires an active subscription.
Coding QuestionsCapital OneRepeated Leading-Nonzero Prefix Subtraction
2/5A coding question that asks for a function which takes an array of non-negative integers, applies a fixed rule that clears one entry at a time, and returns the total collected. Correct answers must respect where each step stops, treat zero and equal entries properly, and leave the caller's list unchanged.
Coding QuestionsCapital OneMinimum Increments to Form a Consecutive Run
3/5A coding question on array adjustment: with the only allowed change being to raise elements by one, work out the cheapest way to turn a list of heights into a perfectly regular staircase that goes up or down by one at every step. It tests careful reasoning about which target values are reachable and about edge cases.
Coding QuestionsCapital OneEven Digit Count
1/5This beginner-friendly coding challenge, frequently featured in Capital One technical interviews, tests your ability to iterate through collections and process numerical data. You will be asked to evaluate a sequence of numeric values and determine how many items meet a specific length criterion regarding their digit count. This problem is excellent for practicing basic arithmetic operations and string conversion techniques in a timed setting. Access to the complete problem breakdown and optimal code solution requires a subscription.
Coding QuestionsCapital OneCount Sawtooth (Alternating Parity) Subarrays
3/5A coding question about counting the stretches of an integer array in which neighbouring values switch between even and odd. It checks careful handling of single elements, repeated parity, negative numbers, an empty array and very long inputs.
Coding QuestionsCapital OneMinutes Since Nearest Train Departure
2/5A coding question about finding elapsed time from a repeating daily timetable. It tests exact-match behavior, midnight boundaries, time parsing, and ordered schedule data.
Coding QuestionsCapital One
Array questions at Goldman Sachs
Zigzag Iterator for Two 1D Vectors
3/5Build an iterator that alternates between two sequences, continuing with whichever still has elements once the other runs out. This Goldman Sachs question is a design exercise with an obvious follow-up: the clean answer generalises from two sequences to any number by holding the live cursors in a queue. You will keep the alternation correct when the lengths differ, report exhaustion accurately, and avoid copying the inputs. The full problem and the model implementation require a subscription.
Coding QuestionsGoldman SachsFind the Damaged Toy
2/5Work out which child in a circle receives the final item when handing them out one at a time from a chosen starting position. This Goldman Sachs question is modular arithmetic in disguise, and a loop over every item is unnecessary: the destination is a single expression. You will get the one-based labelling right, handle a count larger than the circle, and avoid an off-by-one at the wrap point. A subscription unlocks the full problem and the reference solution.
Coding QuestionsGoldman SachsBitwise XOR Subsequences
3/5Find the longest subsequence whose every neighbouring pair combines under bitwise exclusive-or to a fixed value. This Goldman Sachs question hides a neat structural fact: the constraint forces the chosen values to alternate between exactly two numbers, so the search collapses to counting alternations rather than exploring subsequences. You will recognise that a single element is always acceptable, handle the special case where the target is zero, and keep the scan linear. The complete problem and the reference solution are available to subscribers.
Coding QuestionsGoldman SachsProcess Starvation Time
3/5Reported as a Goldman Sachs coding challenge, this problem asks you to calculate the waiting periods for elements processed in reverse order based on their priority levels. It tests your ability to efficiently identify relative dominance and compute duration metrics using stack-based or monotonic algorithmic patterns. This exercise evaluates your knack for handling reverse chronological dependencies and queue dynamics under strict constraints. Gain immediate access to the full problem statement and expert solution by subscribing.
Coding QuestionsGoldman SachsAlternating Plus/Multiply on Even and Odd Index Streams
2/5A coding question on simulating two interleaved running computations over one array. It tests careful reading of an unusual rule, per-stream bookkeeping, and comparing the parity of two final values.
Coding QuestionsGoldman SachsLongest Subarray With Sum At Most K
3/5An array coding question: given non-negative numbers and a budget, report how long the longest contiguous stretch can be without its sum going over the limit. It checks boundary handling for empty inputs, zeros and exact matches, with a follow-up on allowing negative values.
Coding QuestionsGoldman SachsMinimize the Sum of Distinct Counts Across All Prefixes
2/5A coding question about rearranging repeated integers so that a cumulative score over prefixes is as small as possible. It tests whether the candidate can turn a global ordering objective into a compact computation while handling ties and extreme multiplicities correctly.
Coding QuestionsGoldman SachsMaximize the Minimized Three-Server Difficulty Split
4/5A coding question about splitting rated software modules across three servers when a checker then picks one module per server to make a spread of ratings small. The learner chooses the split that leaves the checker's best spread as large as possible and returns that value.
Coding QuestionsGoldman SachsClockwise Outside-In Walk of a Grid
3/5A coding question on listing every value of a rectangular grid along a clockwise path from the outer edge toward the centre. It checks that non-square shapes, lone rows, lone columns and empty grids yield each value exactly once.
Coding QuestionsGoldman SachsWater Trapped Between Elevation Bars
4/5A coding question on an elevation map of bars that collects rainwater in its dips. The learner computes the total trapped volume, covering flat, rising and falling shapes.
Coding QuestionsGoldman SachsCount Strictly Increasing Subarrays of Length K
2/5Featured in recent Goldman Sachs technical assessments, this problem challenges you to scan an integer array and count every contiguous subsegment of a specific size that maintains a strictly ascending order. It serves as a fantastic test of sliding window techniques, sequence tracking, and efficient array iteration. Mastering this pattern helps build confidence for similar subsegment query tasks. Unlock the full problem statement, algorithmic breakdown, and optimal source code with a paid subscription.
Coding QuestionsGoldman SachsCompliance Alerts From Trailing-Average Sliding Window
2/5Count the minutes at which recent call volume, averaged over a fixed trailing span, exceeds a limit. Spans that are not yet full never count, and an average equal to the limit does not trigger an alert.
Coding QuestionsGoldman SachsCount Unique Pairs With Difference K
3/5A coding question on counting how many distinct value pairs in an integer list differ by a given amount. It tests careful handling of duplicates and the special case of a zero difference. Subscribers can view the full statement and reference solution.
Coding QuestionsGoldman SachsBitwise XOR Subsequences
3/5Find the longest contiguous stretch of an array whose combination under bitwise exclusive-or equals a target. This Goldman Sachs question is the prefix-xor-and-hash-map pattern: because the operation is its own inverse, the first occurrence of each prefix value is what gives the longest span. You will store first occurrences only, seed the map for the empty prefix, and handle a target of zero. A subscription unlocks the complete problem and the model solution.
Coding QuestionsGoldman SachsEffective Manager
3/5A coding question on picking a subset of meetings and an ordering for them so that a running score that starts at zero stays strictly positive after each one, with the goal of holding as many as possible.
Coding QuestionsGoldman Sachs
Array questions at Uber
Longest Diagonal Pattern
3/5Find the longest run along a matrix diagonal that starts at one marker value and then alternates between two others without turning. This Uber question has four diagonal directions to consider and a strict alternation rule, which makes a per-cell dynamic-programming state the natural answer. You will define what the state remembers, scan in an order that has the predecessor already computed, and handle single-cell runs. A subscription unlocks the full problem and the model solution.
Coding QuestionsUberMaximum of Every Sliding Window
4/5Given a numeric sequence and a fixed window length, produce the largest value inside each consecutive window as it moves across the sequence. The learner must handle repeated and negative values and the extreme window sizes.
Coding QuestionsUberFind Maximum Length
3/5Find the largest window length for which every window of that length sums to less than a threshold. This Uber question inverts the usual sliding-window objective: you are not looking for one qualifying window but for a length at which no window fails. You will exploit the fact that the property is monotone in the length, use prefix sums to test a candidate length quickly, and handle the case where even a single element exceeds the threshold. The full problem and the reference solution require a subscription.
Coding QuestionsUberCount the Number of Good Subarrays
3/5Count the contiguous stretches of an array that contain at least a required number of equal-value pairs. This Uber question is a sliding window with a monotone property worth stating out loud: once a window qualifies, every longer window starting at the same place also qualifies, so each left edge contributes a run of answers at once. You will maintain pair counts incrementally as values enter and leave, and keep the arithmetic within range for large inputs. Subscribers get the complete problem and the model solution.
Coding QuestionsUberOrdered Squares of a Sorted List
2/5Take a list of integers already in order, possibly with negatives, and return the square of each entry so that the new list is in order as well. The task rewards noticing how the original ordering constrains where the largest results can appear. Subscribers can open the full statement, analysis and model solution.
Coding QuestionsUberRotate a Square Matrix In Place
3/5A coding question about turning a square grid of numbers a quarter turn clockwise while reusing the grid that was passed in. Learners must handle odd and even sizes, keep every row object, and avoid building a second grid.
Coding QuestionsUberShop Checkout Total with Next Cheaper-or-Equal Markdown
2/5A coding question on a shop promotion where each item's price is reduced by a later item's price. The learner returns the amount collected and the positions of items that sell without any markdown, handling equal prices and items with nothing cheaper after them.
Coding QuestionsUberPermutation Prefix Balanced Subarray Check
3/5Given a permutation, decide for every length k whether the numbers one through k sit side by side somewhere in it, and report the results as a string of zeros and ones. The task is about reasoning over where each value lives. The full problem and model solution require a subscription.
Coding QuestionsUberLongest Window With a Bounded Spread
3/5A coding question about a list of integer readings and a tolerance. The learner must find the longest run of consecutive readings whose largest and smallest values differ by no more than the tolerance, and return its length.
Coding QuestionsUberFind Robot Position from Blocker Distances
3/5A grid coding question: given a four-number reading of how far a robot can move in each direction before hitting a blocker or the edge, list every robot on the board that matches it. It checks careful handling of directions, edges and multiple matches.
Coding QuestionsUberTennis Tournament: Play the Rounds and Seed the Bracket
3/5A coding question about a knockout tennis tournament: play out a given draw round by round with exact printed output, then produce a fair draw for any number of players so the strongest meet as late as possible.
Coding QuestionsUberMerge Step Functions of (timestamp, value) Pairs
3/5In this technical interview problem reported at Uber, candidates are asked to combine two piecewise constant chronological functions into a single unified timeline. The task requires effectively traversing temporal intervals and managing overlapping segments to compute cumulative numerical updates efficiently. It assesses your proficiency with interval manipulation, sorting logic, and state tracking over sequential data streams. To explore the complete problem statement, optimal algorithmic strategy, and fully written reference code, a paid subscription is required.
Coding QuestionsUberShortest Word Distance in a String Array
1/5Explore this frequent Uber technical assessment problem that challenges you to find the closest spatial separation between two specific words inside a collection of text strings. This task examines your ability to traverse sequences efficiently, maintain state pointers, and calculate linear intervals with optimal performance. It is a fantastic exercise for strengthening foundational scanning techniques used in text processing. Unlock the comprehensive explanation, edge-case analysis, and clean code solution by securing a subscription.
Coding QuestionsUberMaximize Pipeline Throughput Within Budget
3/5A coding question about spending a fixed budget on extra copies of services that run in series, where the slowest service limits the whole chain. You must return the highest end-to-end rate you can afford, exactly, even when the result is far larger than 64-bit integers allow.
Coding QuestionsUberMedian of Two Sorted Arrays
4/5A coding question about finding the middle value of two already ordered collections when their combined size is too large to read in full. It tests reasoning about positions in sorted data and careful handling of empty and uneven inputs.
Coding QuestionsUber
Array questions at Apple
Maximum Profit From One Share Trade
2/5A coding question on daily price data: choose one day to buy and a later day to sell so that the gain is as large as possible, returning zero when every possible trade would lose money.
Coding QuestionsAppleValid Sudoku
3/5Verify that a partially filled Sudoku grid breaks none of the three uniqueness rules, ignoring the blank cells entirely. This Apple question is a single sweep with three groups of bookkeeping, and the only arithmetic that matters is deriving the box index from the row and column. You will skip blanks rather than treating them as values, remember that a valid board need not be solvable, and keep the sweep to one pass. Subscribers can read the complete problem and the reference solution.
Coding QuestionsAppleDedupe Unsorted Array (Three Variants)
3/5This Apple interview challenge explores multiple levels of removing duplicate elements from a disordered collection of numbers, culminating in a strict variant that forbids auxiliary storage and built-in sorting mechanisms. It tests your mastery of foundational algorithmic efficiency, in-place data manipulation, and custom sorting logic from scratch. Interviewers use this problem to gauge how deeply candidates understand memory constraints and low-level array operations. Gain access to the full problem breakdown and optimal model solution by subscribing today.
Coding QuestionsAppleRotate Image 90 Degrees In Place
3/5This Apple coding interview question requires you to manipulate a square two-dimensional grid representing a digital image by rotating it ninety degrees clockwise. The core constraint is that the transformation must happen entirely in place without allocating extra matrix memory for the output. Solving this efficiently demands a strong spatial understanding of matrix coordinates and algorithmic traversal patterns. Unlock the complete problem description and clean model solution with a subscription.
Coding QuestionsAppleFind First Unique Number in an Array
2/5Return the earliest value in an array that appears exactly once, or a sentinel when every value repeats. This Apple warm-up needs two passes and is asked to see whether you count first and then scan, rather than testing each element against the rest. You will keep the counting pass independent of the order pass, preserve the original positions, and handle an array where nothing is unique. Subscribers get the complete problem and the reference solution.
Coding QuestionsAppleSlowest Processing Speed to Meet a Deadline
3/5A coding question about choosing the smallest constant work rate that lets a worker finish several batches of records before a fixed number of hours runs out, with an impossible deadline reported as an error.
Coding QuestionsAppleZero Out Duplicates and Sort Without Native Sort
2/5A coding question on cleaning up a list of integers by blanking repeated values and then ordering the result with a hand-written ordering routine. It checks negative numbers, input handling and writing your own ordering step.
Coding QuestionsAppleContainer With Most Water
2/5This classic Apple interview question challenges you to find the maximum possible water volume enclosed between two vertical bars in an integer array. You will need to design an efficient algorithm that evaluates boundary pairs while dynamically adjusting pointers to maximize both height and width constraints. The problem evaluates your grasp of the two-pointer technique and spatial reasoning without resorting to exhaustive searches. Unlock the complete problem statement and optimized solution with a subscription.
Coding QuestionsAppleTrapping Rain Water
4/5Featured in Apple interview loops, this classic algorithmic problem requires calculating the volume of water trapped between elevation bars after a rainfall. It tests your ability to optimize spatial tracking using two-pointer techniques or monotonic stacks to achieve linear time complexity. The complete problem walkthrough and model solution require an active subscription.
Coding QuestionsAppleCount Contiguous Ranges with a Target Sum
3/5A coding question on integer lists: count how many contiguous stretches of a list add up to a given target when the values can be negative or zero. A follow-up asks you to explain why a simple window approach breaks on such inputs.
Coding QuestionsAppleProduct of All Other Elements
3/5A coding question on array transformation: for each position, combine every other value in the list into a single number, with zeros and single-element inputs to handle. Large inputs rule out any approach that rescans the whole list for each position.
Coding QuestionsAppleLongest Rise-and-Fall Subarray
3/5A coding question on scanning an integer array for the longest contiguous run that goes strictly up to one highest point and then strictly down, with careful handling of flat steps and very short inputs.
Coding QuestionsApplePermutations
2/5Master the art of generating all unique arrangements from a collection of distinct numbers in this classic algorithmic challenge frequently asked in Apple technical screenings. This exercise evaluates your understanding of backtracking techniques, recursion depth management, and state space exploration. You will learn how to systematically build combinations while avoiding redundancy. To explore the complete problem statement, optimal algorithmic approaches, and a thoroughly tested model solution, a paid subscription is required.
Coding QuestionsAppleCombine Overlapping Ranges
3/5A coding question on reducing a list of closed numeric ranges to the fewest disjoint ranges that cover the same points. It checks how ranges that only touch at an endpoint, nested ranges and unsorted input are handled.
Coding QuestionsAppleNumbers with No Neighbors
2/5A coding question on filtering numbers from a list: keep a value only when it occurs once and no value one smaller or one larger is present. It checks careful counting and attention to which values count as neighbors.
Coding QuestionsApple
More Array questions
Minimum Swaps to Sort (Cycle Decomposition)
3/5As seen in Akuna Capital coding evaluations, this problem requires calculating the absolute fewest element exchanges needed to arrange an array into its proper ordered sequence. Candidates must analyze permutation paths and apply cycle decomposition concepts to determine the optimal number of corrective moves efficiently. This exercise tests your grasp of graph theory principles applied to arrays and combinatorial optimization. Unlock the full question breakdown, mathematical proof, and complete model solution with a paid subscription.
Coding QuestionsAkuna CapitalLiquid Settling on Uneven Columns
3/5A coding question that simulates liquid being poured onto a landscape of columns of different heights and asks for the final shape after all units have settled.
Coding QuestionsAirbnbDasher Pay
2/5Roll up a list of delivery payment records so that every courier's earnings are reported as a single total. This DoorDash screening question is a one-pass grouping exercise, and it is asked because it shows whether you reach for a dictionary instinctively and whether you handle a courier who appears once as cleanly as one who appears fifty times. You will decide what the result looks like when the input is empty and keep the accumulation free of float surprises. The complete problem and the reference solution are available to subscribers.
Coding QuestionsDoorDashMatchsticks to Square Transform
3/5Decide whether a pile of sticks of fixed lengths can be laid out as a square using every stick exactly once and breaking none. This Bloomberg question is a partition search, and the whole game is pruning: sorting the sticks longest-first, rejecting totals that are not divisible by four, and refusing a side that already overshoots. You will place sticks into four buckets with backtracking and explain why the naive search times out without those cuts. Subscribers get the complete problem and the reference solution.
Coding QuestionsBloombergCount Groups
3/5This grouping puzzle revolves around categorizing hardware components based on numerical compatibility tags, modeled after Twilio interview scenarios. You are given a collection of labeled items and must partition them into valid pairs according to specific matching restrictions and equivalence rules. The task assesses your proficiency with graph connectivity, hash maps, or set partitioning techniques. Discover the full challenge breakdown and reference solution with a paid subscription.
Coding QuestionsTwilioPascal's Triangle
2/5Featured as a technical interview task at Ericsson, this coding problem challenges you to construct the classic mathematical arrangement known as Pascal's Triangle up to a given row limit. You will need to apply iterative logic to properly calculate and format the inner values while ensuring boundary conditions are correctly handled for every generated row. This exercise assesses your fundamental array manipulation abilities and algorithmic thinking. Unlock the full problem statement and a robust model solution with a subscription.
Coding QuestionsEricssonFind Missing and Repeated Element
3/5This Akuna Capital interview question challenges you to locate a missing value and a duplicate entry within a sequential integer array. Candidates must evaluate optimal bitwise manipulation techniques alongside traditional arithmetic approaches to achieve high efficiency while avoiding common numerical overflow pitfalls. Discovering the complete problem statement, optimal algorithmic tradeoffs, and the verified model solution requires an active subscription.
Coding QuestionsAkuna CapitalSplit Array: Left Sum Greater
2/5Partitioning arrays based on cumulative numeric weight is a classic test of prefix-sum efficiency in technical interviews. Reported as a coding question at JPMorgan, this exercise challenges you to evaluate every possible splitting point in a numeric sequence and count how many times the accumulated total of the left partition strictly exceeds the right partition. The core task emphasizes optimizing performance by avoiding repeated summation over sublists during the linear sweep. Access the full problem details, edge-case considerations, and optimized source code by upgrading to a paid subscription.
Coding QuestionsJPMorganRock-Paper-Scissors Lineup
3/5Solve an engaging array manipulation puzzle simulating competitive hand gestures, a logic-based coding challenge reported during interviews at SoFi. This problem requires you to process sequential elements and determine the minimal adjustments needed for your choice to dominate a growing line of opponents under specific elimination rules. You will be tested on your ability to transition from a straightforward brute-force simulation to an optimized, pattern-recognizing algorithmic approach. Unlock the complete problem details and clean model solution with a paid subscription.
Coding QuestionsSoFiMerge Intervals Returning Original Start-End Indices
3/5This interview question, frequently asked at Walmart Labs, extends traditional interval merging by demanding that you track the original positional indices of the segments involved in each consolidation. You must effectively sort and combine overlapping ranges while preserving metadata regarding which initial inputs contributed to the final spans. Exploring the full problem details and the complete model solution requires a paid subscription.
Coding QuestionsWalmart LabsLoad Balancing
3/5Split a list of jobs into contiguous blocks, one block per machine, so that the busiest machine finishes as early as possible. This MathWorks question is the canonical binary-search-on-the-answer problem: guess a load ceiling, greedily fill blocks under it, and check whether the machines suffice. You will prove the feasibility check is monotone in the ceiling, bound the search between the largest job and the total, and handle more machines than jobs. Subscribers can read the full problem and the reference solution.
Coding QuestionsMathWorksInterval Counting
3/5Count the contiguous stretches of an array whose elements add up to exactly a target value, with negative numbers allowed. This Roblox question is the prefix-sum-and-hash-map pattern, and the presence of negatives is what rules out the sliding window that would otherwise work. You will count prefix sums as you go, look up the complement rather than searching, and remember to seed the map so that a prefix matching the target is counted. The complete problem and the reference solution are available with a subscription.
Coding QuestionsRobloxShuffle a Deck of 52 Cards
3/5Practice a classic randomization challenge reported during interviews at CrowdStrike, which asks you to fairly rearrange a standard collection of unique elements. The core task is to build a uniform permutation approach where every possible arrangement has an identical chance of occurring. This exercise evaluates your grasp of randomized algorithms, efficiency, and statistical fairness. Access the complete breakdown, complexity analysis, and verified model implementation through a paid subscription.
Coding QuestionsCrowdStrikeContiguous Subarray with Largest Min + Max
3/5Encountered in technical assessments at ByteDance, this coding challenge requires finding a contiguous subarray of sufficient length that maximizes the sum of its minimum and maximum elements. The problem tests your ability to analyze numeric sequences and optimize sliding window or linear scan strategies efficiently. Developing an optimal solution demands strong analytical thinking to avoid brute-force bottlenecks. Unlock the full problem details, test cases, and model solution by subscribing today.
Coding QuestionsByteDanceTranspose an Image Matrix
2/5Grid manipulation and matrix transformations frequently appear in foundational coding assessments, such as this pixel-processing puzzle reported from Luma AI. The task challenges developers to flip a two-dimensional integer array along its diagonal axis, effectively swapping row and column indices without relying on external helper libraries. It tests your fluency with multi-dimensional array indexing, memory layout, and boundary management in raw code. Review the complete problem statement, formatting guidelines, and optimal solution by subscribing today.
Coding QuestionsLuma AIMinimize Cost to Make Adjacent Blocks Unequal
4/5This interview problem from WeRide requires determining the smallest financial investment needed to modify structural elevations so that no two neighboring elements share the same value, utilizing only upward adjustments. Candidates must strategically choose which items to raise and by how much to optimize the total expense efficiently. The complete problem description, strategic breakdown, and verified code solution require a subscription.
Coding QuestionsWeRideFind Missing Number in a Sorted Array (or None)
3/5In this Arista Networks interview question, applicants are challenged to discover a missing element in a sequentially ordered collection of unique values in logarithmic time. The assessment tests the ability to adapt binary search strategies to detect sequence anomalies efficiently without scanning every element. Access to the full problem statement and optimized implementation requires a subscription.
Coding QuestionsArista NetworksSort Documents on a 2D Plane
3/5In this Figma software engineering interview challenge, applicants must sort visual documents distributed across a two-dimensional space based on their horizontal positions and boundaries. Follow-up requirements introduce vertical layout arrangements and hierarchical parent-child containment structures to test advanced spatial sorting algorithms. Detailed problem parameters and complete programmatic solutions are reserved for subscribers.
Coding QuestionsFigmaMinimum Talent-Complete Team from Every Start
3/5In this Walmart Labs interview question, you must find the shortest contiguous segment from every possible starting index that includes a complete set of distinct talent types. The challenge evaluates your ability to process large input arrays efficiently within linear time complexity using sliding window or two-pointer techniques. You will need to handle edge cases where certain suffixes cannot form a complete team. Get access to the full problem description and optimal model solution with a paid subscription.
Coding QuestionsWalmart LabsMatch-3 Grid: Find Matches, Clear and Drop
3/5A coding question on simulating a tile-matching puzzle grid. You scan the board for straight lines of identical tiles, report each with its length in a fixed order, then clear them and let the remaining tiles fall. It tests measuring whole lines rather than fragments and tiles that belong to two lines at once.
Coding QuestionsRobloxCheck for 5-Minute Break Between Meeting Intervals
2/5Master interval scheduling algorithms with this targeted interview question frequently reported at Maven Clinic. The exercise challenges you to process a collection of scheduled time blocks and verify whether sufficient gaps exist between consecutive commitments. You will need to demonstrate strong sorting and comparison techniques to handle chronological boundaries accurately and return a definitive boolean result. Discover the complete problem walkthrough and professional implementation by getting a subscription.
Coding QuestionsMaven ClinicFilter Numbers Greater Than the Average
2/5Compute the mean of a list of integers and return only the entries that sit strictly above it, in their original order. This Squarepoint warm-up needs two passes and gets interesting only at the edges: strict comparison excludes anything exactly at the mean, and integer division would quietly change the answer. You will keep the mean exact, preserve input order, and print nothing when no entry qualifies. The complete problem and the reference solution are available to subscribers.
Coding QuestionsSquarepointArray Break
4/5Featured in D. E. Shaw assessments, this coding problem requires you to split a numeric sequence into two parallel component arrays satisfying strict sorting constraints and split-sum equations. It evaluates your ability to combine dynamic programming or combinatorial counting with modulo arithmetic for large numerical outcomes. Unlocking the complete problem statement, comprehensive test cases, and the expert model solution requires a subscription.
Coding QuestionsD. E. ShawRotate String (variant with two string arrays)
3/5Decide whether every string in one list can be rotated to match the corresponding string in another. Asked at Microsoft, the clean test is that a rotation of a word appears inside that word doubled, which turns each comparison into one substring search instead of trying every shift. You will check lengths and character counts first as a cheap filter, and keep the total work linear in the combined input size. A subscription unlocks the full problem and the model solution.
Coding QuestionsMicrosoftFind Value to Minimize Sum Difference After Replacement
3/5This Moody Analytics interview question explores numerical optimization and search strategies within integer sequences. Participants need to identify a replacement value that brings a collection's total sum as close as possible to a given threshold. This puzzle evaluates your mathematical reasoning, binary search application, and proficiency in minimizing aggregate error metrics over large datasets. Gain full access to the detailed problem statement and vetted model code through a paid subscription.
Coding QuestionsMoody's AnalyticsMerge Intervals with Possibly Reversed Endpoints
3/5Tackle a popular coding assessment problem reported at ByteDance involving interval combination where raw segment endpoints might arrive out of order. Engineers must normalize boundary values and efficiently consolidate overlapping ranges into a clean, sorted sequence. This task tests your ability to handle messy incoming datasets and implement interval manipulation algorithms correctly. Reviewing the full problem specifications and optimal implementation requires an active subscription.
Coding QuestionsByteDanceFind K Closest Elements
3/5Reported as a Visa technical assessment, this problem challenges you to locate a specific quantity of nearest numerical neighbors around a target value within an ordered sequence. The task examines your mastery of binary search techniques and customized sorting logic for tie-breaking scenarios. Access to the full problem text and optimized solution requires a subscription.
Coding QuestionsVisaGet Most Active Users Within Time Range
3/5Work out which users were online the longest inside a time range, given unordered connect and disconnect events. This Microsoft question is an interval-reconstruction problem: the events must be paired per user, clipped to the window, and then totalled before any ranking happens. You will sort per user, handle a session that starts before the window or never closes, and return the requested number of users in descending order. The complete problem and the model solution are available with a subscription.
Coding QuestionsMicrosoftFind occurrence and constraint
2/5Report every position where a chosen character appears in a string, except where the following position holds a particular marker. This Bloomberg warm-up is about reading the exclusion rule carefully and then implementing it in one pass with a safe look-ahead. You will avoid running past the end of the string, decide what happens at the final position, and state the complexity. The full problem and the reference solution require a subscription.
Coding QuestionsBloombergGas Station Feasibility / Complete Circuit
3/5Decide whether a loop of fuel stops can be completed and from which stop to begin, refuelling at each one before moving on. This Bloomberg question has an elegant single-pass answer: the trip is possible exactly when the total fuel covers the total cost, and the starting point is just after wherever the running balance hits its lowest point. You will prove that claim rather than assert it, and handle the case where no start works. Subscribers get the complete problem and the model solution.
Coding QuestionsBloombergMinimum Path Sum in Triangle
3/5A question about a triangular arrangement of numbers: choose a route from the apex to the base that moves only to neighboring entries and has the lowest total, even when some entries are negative.
Coding QuestionsAgodaMedian of Two Sorted Arrays
5/5Challenge your algorithmic thinking with a notoriously rigorous data structures problem reported during Rippling interviews, requiring you to find the median of two sorted arrays in logarithmic time. Rather than relying on a standard linear merge, you must apply advanced binary search techniques to partition the inputs correctly. This tests your deep comprehension of range division and index boundaries. To view the full problem statement and complete model solution, a subscription is required.
Coding QuestionsRipplingRemove m Elements to Minimize Unique Count
3/5Reported during a Walmart Labs technical interview, this puzzle challenges candidates to eliminate a specified quantity of elements from a collection to achieve the smallest possible number of unique values. The exercise evaluates proficiency in frequency analysis, greedy strategies, and custom sorting techniques to optimize data reduction. Participants must carefully balance element frequencies against the removal budget. Access to the full problem breakdown, optimal algorithms, and annotated code requires an active subscription.
Coding QuestionsWalmart LabsMinimum Operations to Make Arrays Equal
4/5This algorithmic transformation challenge, documented in recruitment sessions at MathWorks, focuses on determining the optimal sequence of modifications needed to make numerical collections identical. The task tests your analytical thinking regarding cost minimization, mathematical properties of sequences, and efficient state transition design. You will need to formulate a strategy that scales gracefully under strict performance constraints without resorting to brute-force iterations. To view the full problem specifics, thorough analysis, and verified source code, consider purchasing a subscription.
Coding QuestionsMathWorksTwo Sum with Smallest-Indices Tiebreak
3/5Practice a variation of a classic array lookup problem reported during technical screenings at Walmart Labs. You are asked to find a pair of numbers in an unsorted collection that adds up to a specific target, with strict tie-breaking rules prioritizing the earliest index positions. The discussion also touches upon expanding the concept to handle multi-element combinations and duplicate elimination strategies. The full problem and model solution require a subscription.
Coding QuestionsWalmart LabsSimulate a Board Game
3/5Encountered as a technical interview question at Chime, this problem requires you to simulate a turn-based board game involving two players on a grid of configurable dimensions. You must correctly interpret a sequence of dynamic actions that include placing pieces and shifting existing ones in various directions, subsequently tracking the progression until a game outcome is reached. This exercise evaluates your state management, simulation design, and edge-case handling capabilities. Gain access to the full problem instructions and complete model solution through a subscription.
Coding QuestionsChimeCombinations Summing to a Target with Reusable Numbers
3/5A coding question on enumerating every way to reach a total using numbers that can be reused. It tests organising a search so each combination appears once and hopeless branches are cut early.
Coding QuestionsIMC TradingFind ID of Soldier
2/5This interview problem involves tracking the final positions of lined-up personnel undergoing a series of specialized segment-reversal maneuvers based on non-overlapping operational ranges. Shared as an HSBC interview question, it challenges your capability to model permutation sequences and optimize spatial tracking without performing costly brute-force simulations. To read the complete problem statement and discover the optimal algorithmic solution, a subscription is required.
Coding QuestionsHSBCMinimum Domino Removals
3/5Work out the fewest tiles to discard from a line of two-sided tiles so that the rest can form a valid chain. This Microsoft question hides a counting argument behind the physical setup: what survives depends on how often each face value appears, so the answer follows from the frequency table rather than from simulating arrangements. You will build that table, reason about which values can anchor a chain, and handle tiles whose two faces match. Subscribers can read the full problem and the model solution.
Coding QuestionsMicrosoftClassify a Digit Array by Consecutive Order
2/5Classify a short array of digits as consecutively rising, consecutively falling, or merely rearrangeable into one of those. This Palo Alto Networks question is a specification exercise where the three categories overlap in ways that have to be resolved in a fixed order. You will test the original order first, then test the sorted form, and decide which label wins when more than one applies. The full problem and the reference solution require a subscription.
Coding QuestionsPalo Alto NetworksApply Document Edit Events (Line-based Insert/Delete)
3/5Encountered in ClickUp interviews, this task simulates text editing by applying sequential line-based insert and delete events to a multi-line document. You are tasked with correctly maintaining indices and updating the content dynamically in chronological order. This challenge tests your array manipulation efficiency and state management capabilities. Gain full access to the problem requirements and expert solution code through our subscription plan.
Coding QuestionsClickUp.NET OA: 3^x * 5^y Count and Decreasing Subarrays
2/5Featured in an IBM technical screening, this dual-part coding challenge tests your capability to handle mathematical number generation and sequence analysis. The first portion requires identifying integers expressible through specific exponential factors within a given numeric range while preventing overflow errors. The second part focuses on scanning an array to count contiguous segments meeting strict descending criteria. Mastering these tasks demands solid arithmetic reasoning and linear scan techniques. Access to the full problem description and complete model solutions requires a subscription.
Coding QuestionsIBMSort Colors
3/5This classic array reorganization puzzle, featured in coding evaluations at OKX, challenges you to group three distinct categorical elements together in place within linear time complexity without relying on built-in sorting utilities. It tests your ability to manipulate pointers efficiently through a single pass over the dataset while maintaining constant extra space. Discover the complete problem walkthrough and optimal algorithmic solution by obtaining a subscription.
Coding QuestionsOKXMax Distinct Counts After Splitting Array
2/5Tackle this array partitioning challenge reported in recent IBM software engineering interviews. The assessment focuses on optimizing distinct element frequencies across dynamic sub-segments, requiring candidates to design clever single-pass tracking mechanisms rather than relying on redundant recalculations. Mastering this concept sharpens your data structure utilization and linear-time optimization skills. The full problem breakdown and expert-crafted reference solution are available exclusively to subscribers.
Coding QuestionsIBMAlternating Direction Height Jump
3/5Follow a walk through an array where each step jumps to the nearest qualifying height in the current direction and then reverses direction. This Verkada question is a careful simulation whose cost depends on how you find the next target: a scan per step is quadratic, while a monotonic structure or precomputed next-greater links is far better. You will define the qualifying condition exactly, detect when no target exists, and avoid looping forever. The full problem and the reference solution require a subscription.
Coding QuestionsVerkadaKeep the First Occurrence of Each Letter
2/5A coding question on cleaning a string of lowercase letters so that no letter repeats while the surviving letters stay in the order they first showed up. The learner returns the shortened string, which may be empty.
Coding QuestionsMicrosoftBucket Values Into Boundary Ranges
3/5Assign every value to the interval between two adjacent boundaries and report how many landed in each. This Bloomberg question is binary search per value with a precise exclusion rule: anything below the first boundary or at or above the last is dropped rather than clamped. You will pick the search variant that matches the half-open intervals, handle values sitting exactly on a boundary, and keep the per-value cost logarithmic. A subscription unlocks the complete problem and the reference solution.
Coding QuestionsBloombergSpiral Matrix
3/5This Pinduoduo coding challenge requires you to navigate a two-dimensional grid in a specific pattern. Given an m x n integer matrix, your goal is to extract all its elements by traversing them in a clockwise spiral sequence, beginning from the top-left corner. This problem primarily tests your ability to handle matrix boundaries and implement precise traversal logic, often involving managing multiple pointers or boundary variables. The full problem and model solution require a subscription.
Coding QuestionsPinduoduoMinimum Length Subarray with K Distinct Numbers
3/5This coding challenge, featured in interviews at IBM, asks developers to find the shortest contiguous segment within a numeric sequence that contains a specified threshold of distinct values. Candidates must efficiently track element frequencies and dynamically adjust window boundaries to isolate the optimal subsegment. The task evaluates sliding window techniques and frequency map management for sequence analysis. View the full problem description and detailed algorithmic solution by securing a subscription.
Coding QuestionsIBMSort an Array with One Misplaced Element
3/5Reported as an interview challenge at Glean, this algorithmic task requires you to restore order to an integer sequence that has been disrupted by a single misplaced item. You are tasked with achieving linear time complexity without relying on standard comparison-based sorting utilities, making it a unique test of array traversal and edge-case management. The exercise probes your ability to recognize structural anomalies and design optimal linear routines. Review the full problem statement and the verified model solution with an active subscription.
Coding QuestionsGleanMemory Allocator (Allocate / Free)
3/5Encountered in Okta hiring loops, this problem simulates low-level resource management by tracking available and occupied blocks in a linear sequence. You must process a stream of allocation and release commands, assigning unique ascending identifiers while locating the earliest continuous segment of free space that satisfies a request. The exercise tests your ability to maintain state accurately and manipulate arrays efficiently. The full problem and model solution require a subscription.
Coding QuestionsOktaTwo Sum (Indices of a Pair Summing to Target)
2/5As a classic introductory coding challenge reported at WeRide, this problem requires you to find the positions of two distinct numbers inside an integer array that add up to a specified sum. The exercise tests your fundamental understanding of hash maps, time complexity optimization, and linear scanning techniques. It serves as an essential stepping stone for mastering interview patterns. Reviewing the complete problem text and the detailed model solution calls for an active subscription.
Coding QuestionsWeRideMinimum Total Cost for Image Filters
3/5Faced in technical interviews at WeRide, this optimization problem requires determining the most cost-effective strategy for applying image filters across overlapping processing windows. Candidates must decide daily whether to pay individual filter fees or utilize a bulk discount option that covers all active images simultaneously. The scenario tests greedy decision-making and efficient cost calculation under specific numerical constraints. Unlock the comprehensive problem statement and optimal model solution by subscribing to our platform.
Coding QuestionsWeRideMinimum Sum-of-Distances Meeting Point on a Line
3/5A coding question about choosing one meeting spot on a straight road for stations at integer positions. The learner returns the smallest achievable total travel distance, handles repeated, negative and empty inputs, and must stay fast for hundreds of thousands of stations.
Coding QuestionsLinkedInResize Stacked Rectangles — Distribute Height
3/5Reported as a challenging Figma screen question, this algorithmic task requires you to distribute a signed dimension adjustment across an ordered stack of vertical blocks while respecting strict minimum height boundaries. Candidates must carefully handle positive and negative deltas using greedy simulation logic, with advanced follow-ups addressing coordinate consistency. It thoroughly evaluates array manipulation and edge-case management under rigid layout rules. The comprehensive problem guide and clean reference solution are available exclusively to subscribers.
Coding QuestionsFigmaAlternating Triplets
2/5This JPMorgan interview question requires you to examine a sequence of numbers through a sliding window of three elements and identify local peaks and valleys based on specific relational rules. Your task is to implement a linear scan that accurately tallies every instance where the central value strictly dominates or falls below both of its immediate neighbors. This problem tests fundamental array traversal and conditional logic skills. Access to the complete problem guidelines and optimized code solution requires a subscription.
Coding QuestionsJPMorganMinimum Swaps to Sort Descending
3/5Reported as an engaging JPMorgan technical screening problem, this puzzle asks you to calculate the fewest element adjustments needed to arrange a collection into descending order. The evaluation focuses heavily on your understanding of permutation cycles, array transformations, and managing duplicate values without ambiguity. It serves as an excellent test for algorithmic efficiency and discrete mathematics concepts. Access the comprehensive walkthrough, complexity analysis, and fully implemented solution code by upgrading to a paid subscription.
Coding QuestionsJPMorganHard Disk Scheduling (Shortest Seek Time First)
3/5Managing I/O requests efficiently at the hardware level requires smart scheduling algorithms that minimize mechanical movement. Featured in quantitative research interviews at Qube Research and Technologies, this algorithmic task requires you to simulate a disk head servicing pending requests using the shortest seek time strategy. You must dynamically select the closest track from the current position while properly resolving ties and tracking cumulative head travel distance. Review the complete problem statement, underlying algorithmic principles, and optimized solution code by obtaining a full subscription.
Coding QuestionsQube Research & TechnologiesFirst Bad Version
2/5In this classic algorithmic interview question reported from Qualcomm, candidates must identify the exact point where a software build fails within a sequentially ordered series of releases. Given a boolean verification function, the goal is to pinpoint the initial defective version while minimizing the total number of API queries. This puzzle tests fundamental searching concepts and logarithmic optimization techniques. Access the complete problem breakdown and efficient code implementation by upgrading to a paid subscription.
Coding QuestionsQualcommBinary Search for Boundaries in a Sorted Array
3/5Featured in Applied Materials interviews, this coding challenge asks you to efficiently locate the boundaries of a specific target value within an ordered numerical collection. The exercise tests your mastery of logarithmic time complexity search algorithms to pinpoint both starting and ending occurrences. Unlock the full problem breakdown and optimal implementation code with a subscription.
Coding QuestionsApplied MaterialsMerge Intervals
3/5Combining a collection of ranges so that any that share a point become one range. The task checks sorting and a single sweep that handles touching and nested ranges.
Coding QuestionsRobloxFurtherAITime Travel
2/5Featured as a reported interview question from ZipRecruiter, this problem evaluates basic sequential processing and conditional logic. You are asked to calculate the cumulative cost of transitioning through a chronological sequence of temporal waypoints based on specific directional rules. This challenge measures your ability to translate real-world constraints into clean arithmetic logic. The complete problem statement and verified model solution require a subscription.
Coding QuestionsZipRecruiterBest Time to Buy and Sell Stock (One and Two Transactions)
3/5This classic financial optimization puzzle, frequently asked in Visa interviews, asks you to determine the maximum financial gain achievable from stock price histories under strict transaction limits. You will explore scenarios allowing a single trade as well as an extended version permitting up to two non-overlapping transactions. The exercise tests your capability to optimize dynamic tracking variables and apply greedy strategies over sequential time-series data. To unlock the full problem details and expert-crafted model solution, a subscription is required.
Coding QuestionsVisaMost Frequent Element with Smallest-Value Tie Break
2/5Reported as an interview task at ByteDance, this coding puzzle requires identifying the element that appears most frequently in a collection while correctly resolving ties by selecting the smaller numerical value. It evaluates your skill in leveraging hash maps, frequency counting, and custom sorting logic to process large datasets efficiently. Gain access to the full problem breakdown, complexity analysis, and complete model implementation with a subscription.
Coding QuestionsByteDanceMerge Two Sorted Arrays and Deduplicate
2/5Combine two already-sorted arrays into one sorted result with every repeated value appearing only once, without disturbing either input. This Microsoft question is the merge step of merge sort with a deduplication rule layered on, and the rule applies across both inputs rather than within each. You will advance two cursors, skip values equal to the last one emitted, and handle an empty input on either side. The complete problem and the reference solution are available with a subscription.
Coding QuestionsMicrosoftFind the K-th Largest Element in an Array
3/5This classic coding assessment from WeRide challenges you to identify the element at a specific ordinal rank within an unsorted collection of numbers. It tests your knowledge of efficient selection algorithms, sorting trade-offs, and priority queue management. Access the complete problem description and optimal solution by subscribing.
Coding QuestionsWeRideShopping Category Trip Difference
3/5This Atlassian interview question investigates shopping patterns by comparing category transitions across different item orderings on a grocery list. You are tasked with computing the frequency of category switches in a sequential itinerary and measuring the difference against a grouped arrangement. The challenge evaluates your ability to track state changes and aggregate categorical data accurately. Unlock the full problem statement and expert walkthrough with a paid subscription.
Coding QuestionsAtlassianLargest Rectangle Under a Bar Chart
4/5A coding question about a bar chart: find the largest rectangle that fits beneath the bars, resting on the baseline. It tests correct handling of zero-height bars, equal neighbours and very large inputs.
Coding QuestionsZiplineCount Black Cells in Submatrices
3/5A coding question on a huge, mostly white grid with a short list of black cells: report how many 2 x 2 windows hold zero, one, two, three or four black cells. The grid can be far too large to scan cell by cell.
Coding QuestionsAnomaliMissing Number (Variant Not Starting From 0, Binary Search)
3/5Reported during Arista Networks hiring loops, this variation of a classic interview puzzle asks you to pinpoint a missing integer within a strictly sorted sequence that begins at an arbitrary starting value instead of zero. The challenge tests your analytical skills in comparing straightforward linear scans against logarithmic approaches using binary search to optimize execution speed. You will need to reason about boundary conditions and array indices effectively. Explore the full problem details and expert code walkthrough with a subscription.
Coding QuestionsArista NetworksMoving Average over a Data Stream
2/5Featured as an AstraZeneca interview question, this challenge requires you to compute a running average over a sliding window of fixed size as continuous numerical inputs arrive. The core objective is maintaining optimal performance where each incoming data point is processed efficiently without recalculating the entire window from scratch. It heavily examines your grasp of queue data structures and sliding window optimization techniques. Gain access to the full problem details and a verified model solution with your subscription.
Coding QuestionsAstraZenecaBest Time to Buy and Sell Stock with Chunk Summaries
3/5Highlighted in technical assessments at Zoox, this financial tracking task challenges you to maximize profit from a single stock acquisition and liquidation cycle given historical valuation data. The advanced follow-up extends the premise to handle massive datasets split into chronological segments, requiring you to design an efficient aggregation strategy that computes global gains solely from localized summary metrics. It tests both your foundational algorithmic thinking and data reduction skills. Gain full access to the complete problem text and reference implementation by subscribing.
Coding QuestionsZooxRoad Trip
3/5This BlackRock algorithmic interview question tests your ability to parse structured string inputs and perform sequential distance calculations. Given a collection of destination names paired with cumulative travel lengths from a common starting point, you must sort the route and determine the distance to the closest stop alongside the isolated segments separating consecutive locations. The exercise evaluates basic parsing and math logic. The full problem description and complete model solution require a subscription.
Coding QuestionsBlackRockResource Allocation / Balancing Teams Equal Sum
2/5Featured in MathWorks evaluations, this problem involves balancing two numerical collections containing empty slots by replacing placeholders with positive integers to achieve identical total sums. It measures your mathematical reasoning and greedy strategy execution to find optimal balancing points or determine impossibility. Access to the full problem text, edge-case analysis, and complete model solution requires a paid subscription.
Coding QuestionsMathWorksShopping Cart Billing
3/5This Braze technical interview question revolves around calculating optimal shopping cart billing for loyal customers during an anniversary sale. Candidates must evaluate multiple discount promotions attached to various items, apply the most advantageous pricing rules, and compute the truncated integer sum of all purchases to find the minimum total cost. Exploring the comprehensive problem statement, edge cases, and the complete model solution requires an active platform subscription.
Coding QuestionsBrazeActive Motion Periods Across Camera Streams
3/5A coding question about turning noisy sensor readings into clean spans of time, and then combining several sensors so that only moments shared by all of them remain. It tests careful boundary handling for closed spans, including spans that touch at one instant, and clean merging of sorted lists.
Coding QuestionsServalMedian of Two Lists (Optimal Time, Space-Optimized Follow-up)
3/5This Cognitiv interview question tests your ability to find the median value across two unsorted collections of numeric data while achieving optimal time complexity. Candidates must devise an efficient strategy to evaluate the central elements without fully sorting the underlying datasets, followed by space-optimization considerations. Reviewing the complete algorithmic breakdown and production-ready solution requires a subscription.
Coding QuestionsCognitivCount Servers With No Requests in a Time Window
3/5A coding question about counting, for each of several query times, how many servers were idle during a fixed-length inclusive time window given a log of requests. It stresses handling large inputs, duplicate requests and window boundaries.
Coding QuestionsIBMTwo Sum (All Pairs)
2/5Explore an essential array-scanning problem highlighted in ClickUp technical evaluations. This task challenges you to discover every unique number grouping within a collection that combines to reach a specified numerical goal. It evaluates your proficiency with hash maps, frequency tracking, and linear scan optimizations to achieve optimal time complexity. View the complete problem text and optimal programmatic solution by securing a subscription.
Coding QuestionsClickUpArray-Backed Set Without Built-in Collections
2/5Implement a small collection class that keeps distinct values and supports adding, looking up and deleting them, with each operation reporting whether anything changed. It checks duplicate handling, equality across mixed value types and consistent state after repeated deletions.
Coding QuestionsOdeLogin Arrays Segment Compression
3/5This MathWorks screening problem examines your proficiency in greedy strategies and array manipulation techniques. The objective revolves around transforming two distinct sequences through strategic contiguous subsegment summation to maximize the length of identical resulting collections, or identifying if such a match is entirely unattainable. It evaluates algorithmic thinking under constraints involving data reduction and sequence alignment. Reviewing the full problem description alongside the optimal model solution necessitates an active site subscription.
Coding QuestionsMathWorksMatch Payments to Bookings (One-to-Many Support)
2/5Handling relational data reconciliation efficiently is the focus of this Booking interview question, which examines your ability to verify transaction records against user reservations. You will work through matching unique identifiers across collections to determine fulfillment status while accounting for multi-item relationships. This challenge tests your data manipulation skills and ability to write clean, linear-time mapping logic. Mastering these fundamental lookup patterns is essential for everyday software engineering tasks. The full problem description and verified model solution are available exclusively to subscribers.
Coding QuestionsBookingNearest Elevator That Can Serve a Passenger
2/5A coding question on dispatching: given vehicles at positions with a travel state and a request with a direction, pick the best one that can legitimately respond. It tests careful case analysis of which candidates are eligible, plus a deterministic tie-break.
Coding QuestionsPinterestStarlight
3/5This Rubrik coding question, named "Starlight," presents an array of integer values representing luminosities. The "beauty" of this array is defined as the largest possible sum of any continuous sub-segment. You are provided with a special amplifier, characterized by a multiplier z, which can be applied to a single contiguous portion of the array. The goal is to strategically apply this amplification at most once to maximize the overall beauty of the array. This problem challenges your dynamic programming or array manipulation skills. The full problem statement and a model solution are available with a subscription.
Coding QuestionsRubrikPrint URLs using Data Structures
3/5Build a collection of addresses that supports insertion, deletion, and drawing one at random, all in constant time. This Bloomberg question has a specific intended answer: an array for random indexing plus a map from value to array position, with deletion swapping the last element into the vacated slot. You will keep the two structures in agreement, decide what a draw from an empty collection does, and reject duplicate insertions. A subscription unlocks the full problem and the reference implementation.
Coding QuestionsBloombergTwo Sum
2/5This foundational coding problem frequently appears in technical assessments and asks you to locate a pair of elements within an integer collection that add up to a specific sum. It evaluates your ability to optimize search times and utilize hash-based data structures efficiently. Reported as an interview question at eBay, this exercise tests core algorithmic thinking and array manipulation skills. Access to the complete problem description and an optimized model solution requires a subscription.
Coding QuestionseBayDesign a Bitmap Block Allocator
3/5This systems-focused programming challenge, noted from software engineering interviews at eBay, requires candidates to implement a custom memory block allocator backed by a bitmap data structure. Developers must support dynamic state management where individual bits represent the availability of sequential memory segments. Key operations include scanning the structure for contiguous free runs of specific lengths and executing allocations while maintaining state integrity. The full problem details, operational guidelines, and production-ready reference solution are restricted to our paid subscribers.
Coding QuestionseBayMinimum Meeting Rooms Required for Overlapping Meetings
3/5Reported as an eBay coding interview challenge, this problem focuses on scheduling efficiency and resource allocation by determining peak overlapping intervals. Candidates must design an optimal strategy to calculate the maximum capacity needed simultaneously across a collection of time spans. Unlock the comprehensive problem breakdown and verified code solution with a subscription.
Coding QuestionseBayCount Difference in Uppercase and Lowercase Letters
2/5This beginner-friendly programming challenge, featured in technical rounds at eBay, requires candidates to analyze a collection of characters and compute the numerical discrepancy between upper and lower case alphabets. It serves as a practical exercise for testing string manipulation capabilities and fundamental built-in inspection utilities within your chosen programming language. You will need to write clean logic that iterates through the collection, tallies the respective character cases, and evaluates the final mathematical difference. Unlock the full problem statement, test suites, and optimal solution by upgrading to a paid subscription.
Coding QuestionseBayFlatten a Nested List
2/5A coding question on nested lists of mixed values: produce one flat list in the original left-to-right order, handling empty sublists and any nesting depth, without a built-in flattening helper.
Coding QuestionsElasticBox Fro-yo (Flavor Changer)
2/5This Box coding question asks for the fewest single steps between two positions on a circular list of flavor names, where the walk may go in either direction and wrap around the ends. It tests modular index arithmetic, handling repeated names, and clean edge-case reasoning. The full statement and a reference solution are available to subscribers.
Coding QuestionsBoxTwo Robots, Two Delivery Blocks: Maximum Total Payment
3/5A coding question about selecting two separate stretches of fixed length from a row of non-negative numbers so their combined total is largest. It rewards care with the left-to-right order of the two stretches, choices that crowd each other out, and inputs with no valid choice, then asks how the idea extends to more stretches.
Coding QuestionsNuroDocument Indexing Queue Across m Indexers
3/5A scheduling simulation over a pool of parallel workers: each job has a preferred worker and must find another one when it is occupied, or be discarded. It tests careful handling of time boundaries and wraparound, and reporting the most loaded workers with a deterministic tie-break.
Coding QuestionsGleanMaximum Candies Allocated to K Children
3/5As featured in ByteDance coding assessments, this problem challenges you to distribute candy piles among a group of children to maximize an equal and fair share per recipient. You will need to utilize search optimization techniques over integer boundaries to determine the optimal allocation size efficiently. Unlock the complete challenge specification and optimized solution by subscribing.
Coding QuestionsByteDanceFind Minimum Number in a Rotated Matrix
2/5Featured frequently in technical assessments at Fortinet, this algorithmic problem requires you to scan a two-dimensional grid where rows and columns follow a non-decreasing sorted order to identify the smallest value present. The challenge tests your ability to design efficient search strategies that exploit matrix monotonicity rather than resorting to exhaustive linear scans. Developing an optimal solution demands clever boundary management and logarithmic search principles. To unlock the complete problem statement, detailed constraints, and a fully explained reference implementation, a subscription is required.
Coding QuestionsFortinetSignal Pings
3/5This algorithmic puzzle, reported from technical evaluations at Fortinet, examines your understanding of array manipulation and sorting mechanics. You are given a sequence of state modifications on a binary collection, followed by a repetitive adjacent-swapping procedure that simulates bubble sort passes until fully ordered. The objective is to compute the exact number of iterative sweeps required after each sequential update. Access the complete problem text and a detailed algorithmic solution by upgrading to a paid subscription.
Coding QuestionsFortinetFrom Right to Left Monotone Stack
2/5This frequently reported coding challenge from GE Healthcare asks you to analyze a sequence of numbers to locate the longest contiguous segment that satisfies a non-increasing order when scanned backwards. This problem evaluates your proficiency with linear data structures, sliding window strategies, and efficient pointer management to achieve optimal performance. By tackling this exercise, you will strengthen your capability to process sequential numerical data under specific directional constraints. Access the complete problem description, comprehensive test cases, and an optimized model solution by securing a subscription.
Coding QuestionsGE HealthcareLargest Value of Usage in Minutes
2/5Parse fixed-format device usage records and report which device accumulated the most minutes. This Roblox question is string handling with a tidy specification: the identifier is always five letters and the duration always four digits, possibly padded with leading zeros. You will split each record reliably, convert the padded number correctly, accumulate per device, and resolve a tie the way the statement requires. A subscription unlocks the complete problem and the reference solution.
Coding QuestionsRobloxMaximize Distance to Closest Person
2/5In this classic optimization puzzle frequently featured in Roblox technical screenings, you are asked to find the optimal seating position within a row containing both occupied and vacant spots. The objective is to maximize the separation between yourself and your nearest neighbor. This exercise evaluates your proficiency with linear array scanning, tracking boundary gaps, and maintaining running maximums efficiently. To access the comprehensive problem description, edge-case analysis, and expert model solutions, please consider upgrading to a paid subscription.
Coding QuestionsRobloxData Structures Characteristics
3/5Prepare for your upcoming technical interview with General Motors by exploring the foundational traits of essential computer science containers. This curated challenge evaluates your ability to compare and contrast various organizational strategies, examining the trade-offs, performance strengths, and specific operational contexts best suited for each architecture. You will review how different memory layouts impact retrieval and modification efficiency across sequential and hierarchical layouts. Access to the comprehensive breakdown and expert answers requires an active subscription.
Coding QuestionsGeneral MotorsFind Kth Largest Element in Two Sorted Arrays
3/5Reported during Glean technical rounds, this question challenges you to locate a specific ordered element across two separate sorted sequences in sublinear time. It tests your proficiency with divide-and-conquer strategies, binary search adaptations, and efficient pointer manipulation. Unlock the full problem details and comprehensive model solution by subscribing today.
Coding QuestionsGleanMaximum Length Balanced Subarray (Equal Sum Halves)
3/5This eBay interview coding puzzle challenges you to find the longest contiguous subarray of even length where the sum of the first half precisely equals the sum of the second half. The problem evaluates your prefix sum techniques, array manipulation, and optimization skills to achieve better than quadratic time complexity. Unlock the complete problem statement and optimized model solution with a subscription.
Coding QuestionseBayCitation Problem
2/5Compute the index that reports how many papers have at least that many citations each. This Harvey question is short and has two good answers worth comparing: sorting descending and walking until the condition fails, or counting into buckets for a linear solution. You will handle papers with no citations, note that the answer never exceeds the paper count, and state which approach you chose and why. A subscription unlocks the complete problem and the reference solution.
Coding QuestionsHarveyCount Subarrays Where First = Last = Max
3/5Examine this intriguing array processing puzzle reported during technical rounds at LinkedIn. The objective is to identify and tally specific segments within a numeric sequence where the boundary values match the peak magnitude of that segment. Solving this efficiently demands a strong grasp of linear-time data structures, specifically utilizing monotonic stacks to maintain boundary relationships without brute-force scanning. Discover the detailed problem context and the optimal linear-time solution by getting a subscription.
Coding QuestionsLinkedInTwo Sum Existence
2/5Tackle a classic algorithmic hurdle frequently featured in Hudson River Trading technical screenings by determining whether a pair of numbers in an array adds up to a specific target value. This problem tests your ability to optimize search times using efficient data structures and manage large numerical constraints effectively. It serves as a fundamental building block for advanced array and hashing interview questions. Gain access to the full problem breakdown and an optimal model solution through a subscription.
Coding QuestionsHudson River TradingFind Nodes With Enough Free GPUs for a Pod
2/5A coding question about a cluster of machines that each have a fixed number of accelerators and some workloads already running. Given a new workload's requirement, you work out which machines still have room and how much, returning them in their original order.
Coding QuestionsTogether AIProgressive Marginal Tax Calculator
3/5This Interactive Brokers coding challenge requires implementing a precise progressive marginal tax calculator given a sorted structure of financial brackets and cutoffs. The exercise evaluates your ability to segment numerical values accurately, iterate through boundary conditions, and accumulate fractional totals according to tax regulations. Unlocking the complete problem description, edge-case datasets, and the optimal model solution requires a paid subscription.
Coding QuestionsInteractive BrokersSimplified Path for GPS Recorder
3/5In this engaging interview question reported at Axon, you are tasked with streamlining a sequence of geographic coordinates gathered by a tracking device. The objective is to filter out redundant intermediate locations that fall precisely along a straight trajectory, preserving only the vital turning points. This challenge evaluates your geometric reasoning and data reduction skills using chronologically ordered spatial inputs. The complete problem description and optimal model solution require a subscription.
Coding QuestionsAxonDuplicate Detection I / II / III
3/5This multi-part algorithmic challenge, frequently featured in interviews at Netflix, explores various strategies for identifying duplicate items within data streams and sequences. You will progress from basic uniqueness checks to handling proximity constraints and sliding window thresholds, mirroring real-world media playback history analysis. The problem tests your mastery of hash maps, two-pointer techniques, and efficient windowed data structures. Unlock the complete multi-tier problem description and expert solutions by subscribing today.
Coding QuestionsNetflixFind Overlapping Intervals
2/5This Lime interview question evaluates your ability to manage and analyze numerical ranges efficiently. You will need to inspect a collection of bounds to determine if any two segments intersect with one another. The challenge tests fundamental sorting techniques and array manipulation skills under performance constraints. Access to the complete problem description and an optimal model solution requires a subscription.
Coding QuestionsLimeMemory Allocation Queries
3/5This Visa coding question asks you to simulate a memory manager that serves a stream of allocation and release requests on a linear array of cells. It tests careful state simulation, a first-fit placement policy, and reasoning about contiguous runs of free and occupied space. The full specification and a worked reference solution are available with a subscription.
Coding QuestionsVisaGet Minimum Operations to Sort Array
3/5Encountered during technical interviews at Moveworks, this coding puzzle asks engineers to find the fewest division steps required to put a numeric array into non-decreasing order. Participants are allowed to split any integer into smaller positive components during the sorting process. The challenge tests greedy algorithmic thinking, array manipulation, and mathematical optimization under strict constraints. To view the complete analysis and tested programming solution, a subscription is required.
Coding QuestionsMoveworksCalculate Tax
2/5This Interactive Brokers interview question requires you to compute cumulative financial liabilities based on progressive taxation thresholds and individual earnings. You must parse multiple tier limits and percentage rates to accurately determine the total levy owed on a given amount of capital. This exercise evaluates your numerical computation skills, conditional logic, and capability to process structured sequential input data. Unlock the full problem description and precise model solution by subscribing.
Coding QuestionsInteractive BrokersMaximum Non-Adjacent Sum on a Circular Street
3/5A coding question about choosing houses on a closed loop of streets so that no two chosen houses are next to each other, to collect the largest possible total. It checks that the wrap-around between the first and last house is handled correctly.
Coding QuestionsNIOSort Colors and Sizes
2/5This Pinduoduo interview exercise asks you to extract unique attributes from a collection of items containing color and size pairs while sorting the size attributes in a specific logical order without using standard sorting libraries. It tests your foundational data processing capabilities, custom ordering logic, and handling of categorical data structures. You must implement manual ordering rules for standardized apparel sizes. Unlock the full challenge context and expert solution by subscribing.
Coding QuestionsPinduoduoFirst Missing Positive
4/5A classic array manipulation puzzle frequently asked in Netflix interviews, this problem challenges you to discover the smallest missing positive integer in an unsorted collection. The core difficulty lies in achieving this feat under strict linear time efficiency without allocating extra auxiliary memory. It tests your mastery of in-place data rearrangement and index mapping techniques. Access to the complete problem description and the optimized reference solution requires a subscription.
Coding QuestionsNetflixFind a Straight Flush From a List of Cards
3/5Encountered in Pinduoduo technical screenings, this card game puzzle challenges you to identify valid poker combinations from a large collection. You must determine whether a subset of five elements forming a consecutive rank sequence of identical suits can be selected within given constraints. This question tests your combinatorial reasoning, frequency counting, and bucket sorting proficiency. Access the full problem details and optimized algorithmic solution with a paid subscription.
Coding QuestionsPinduoduoModify and Query Range Sum in Segment Tree
3/5This Rakuten interview question challenges your knowledge of advanced data structures designed for efficient range operations. You need to implement a system that can both update a contiguous segment of an array with a new value and calculate the sum of elements within any specified range. The key constraint is to achieve logarithmic time complexity for both operations, pushing you to consider structures like a Segment Tree or Fenwick Tree. This problem assesses your ability to design and implement performant solutions for dynamic array queries. The full problem and model solution require a subscription.
Coding QuestionsRakutenFind Missing Digits in a Sudoku Row
2/5This array processing challenge, reported from Riot Games interviews, tests your ability to identify missing numerical values within a partially filled Sudoku row. You will write code to parse the input elements and isolate which digits from one to nine are absent, outputting the results in ascending order. Unlock the full problem requirements and expert solution by subscribing today.
Coding QuestionsRiot GamesCount Occurrences of the Suffix Maximum for Each Query
2/5An array question about answering many lookups quickly: each lookup names a starting position and asks a frequency question about the largest value from there onward. With a hundred thousand lookups, rescanning is too slow, so it rewards a single backward pass and careful handling of negative numbers and ties.
Coding QuestionsMicrosoftProduct of Three Largest Numbers in O(n) Time
2/5Enhance your linear scan proficiency with this popular interview challenge reported during Rivian software engineering loops. The task requires you to compute the product of the three largest integers within a given collection while strictly maintaining a linear time complexity constraint. It evaluates your ability to track maximum values on the fly without relying on heavy sorting algorithms. Unlock the complete problem description, performance considerations, and a clean, efficient model solution by subscribing now.
Coding QuestionsRivianClassify User Engagement Patterns from Sessions
2/5In this Netflix interview scenario, you are tasked with analyzing user consumption habits by categorizing viewing sessions into distinct engagement tiers based on completion ratios, then aggregating individual dominant preferences. The challenge evaluates data aggregation, grouping operations, and dictionary mapping skills using viewing logs. Unlock the full description and complete programmatic solution with a subscription.
Coding QuestionsNetflixUnique Intersection of Two Integer Arrays
2/5Return the values that occur in both of two integer arrays, listing each one only once. This Netflix warm-up is a set-intersection exercise, and the deduplication is the whole specification: repeated values in either input must not produce repeated output. You will decide which array to turn into a lookup, keep the result free of duplicates, and note how the cost changes if both arrays arrive sorted. The complete problem and the reference solution are available to subscribers.
Coding QuestionsNetflixDetermine large rice bags
3/5Pick a set of bags whose combined capacity clears a target and report both the chosen bags and the total. This xAI question is open enough that the objective matters: nothing says the set must be smallest, so you should state the rule you are optimising before coding it. You will sort by capacity, take greedily until the target is cleared, and explain why that is the fewest bags when any selection is allowed. Subscribers get the complete problem and the reference solution.
Coding QuestionsxAIMinimum Sum After K Halvings
3/5A coding question on shrinking the total of a list of whole numbers when you can repeatedly cut a chosen entry roughly in half, within a fixed budget of cuts. It stresses large budgets and entries that stop changing.
Coding QuestionsOracleSimulate Connect Four
3/5Reported as a technical interview task at Square, this challenge requires you to build a simulation engine for a grid-based alignment game. You must manage a two-dimensional layout, process piece placements dynamically, and continuously evaluate win conditions across orthogonal alignments using traversal techniques. It tests your state management and matrix manipulation capabilities under game rules. Unlock the full question description and verified model solution with a subscription.
Coding QuestionsSquareFixed-Capacity Ring Buffer Queue
3/5A coding question about building a fixed-capacity first-in-first-out container that reuses its slots once it has filled and emptied. The learner implements insert, remove, peek and status operations with exact return values at the full and empty limits.
Coding QuestionsByteDanceProportional Allocation Strategy Backtest
3/5Prepare for quantitative finance interviews with this Optiver assessment question, which requires building a portfolio simulation to backtest a daily momentum allocation strategy. Candidates must process historical performance data, calculate daily log returns, and accurately track statistical metrics while handling strict numerical bookkeeping. This exercise evaluates your ability to translate financial trading rules into robust code under timed constraints. Unlock the complete problem description and expert model solution by subscribing to our platform today.
Coding QuestionsOptiverTrading Profit With One, Many or k Trades
4/5A coding question in three stages about the largest profit from buying and selling one stock given its daily prices: with one trade, with any number of trades, and with at most k trades. The learner must return the best total for each limit.
Coding QuestionsCitadelCount of Interesting Subarrays
3/5This ByteDance interview question challenges you to determine the number of segments in a sequence that meet specific remainder conditions based on given divisors and target values. The task evaluates your ability to apply prefix sums and frequency counting techniques to efficiently process array data and handle large numerical ranges. You can master the complete algorithmic strategy and view the fully verified model solution by unlocking our comprehensive subscription.
Coding QuestionsByteDancePair of Positions Adding Up to a Target
2/5A coding question about a list of integers and a target sum. The learner must locate two distinct entries that together reach the sum and report their indices in increasing order, or report that none exist.
Coding QuestionsAgodaInterpolate Y-Value for Given X-Value
3/5Solve a numerical estimation puzzle frequently posed during Trade Desk technical screenings. The assignment requires building a robust lookup mechanism that estimates an intermediate ordinate value from a sorted set of coordinate pairs using linear approximation techniques. This challenge examines your binary search proficiency, boundary condition handling, and numerical analysis fundamentals for monotonic datasets. Unlock the complete problem guidelines, edge-case considerations, and verified source code with a subscription.
Coding QuestionsThe Trade DeskEarn the Most
3/5This Trade Desk interview question challenges candidates to maximize trading profits by strategically modifying a sequence of financial actions. Given daily currency valuations and a baseline strategy, you must select a fixed-size chronological window to override, transforming the first portion into silent holds and the remainder into profitable sell orders while keeping outside periods intact. Accessing the full problem description, test cases, and optimal algorithmic solution requires an active platform subscription.
Coding QuestionsThe Trade DeskNon-Adjacent Heist: Line, Circle, Tree, and Gap Variants
3/5A coding question on choosing non-conflicting values to maximise a total. The base task is on a line, and the variants change the layout to a ring or a tree and change how far a chosen item's restriction reaches.
Coding QuestionsDatabricksDelete Element at Flattened Index From Sorted Intervals
3/5A coding question about editing a compressed sorted set of integer ranges when one element is removed by its position. It covers boundary cases where a range shrinks, vanishes or splits, and values too large to expand.
Coding QuestionsDatabricksArray Duplication — O(n) and Memory Trade-offs
3/5This Okta Staff Frontend coding question delves into an array duplication problem, emphasizing both algorithmic efficiency and practical software engineering considerations. Initially, you are tasked with developing an optimized solution that adheres to linear time and space complexity. The follow-up then challenges you to explore an alternative, object-based approach for inline computation, prompting a critical discussion on its potential memory overhead for extensive datasets. This problem not only assesses your coding skills but also your understanding of memory management, performance trade-offs, and the importance of code review. The full problem description and a model solution are available with a subscription.
Coding QuestionsOktaCheck Value Occurrence by Position and Half
2/5Encountered during technical screenings at Upstart, this algorithmic problem tests your proficiency with array traversal and positional logic. Given a specific integer and a sized collection, your task is to evaluate boolean flags indicating whether the target element appears at even or odd indices, as well as within the first or second halves of the sequence. It is a straightforward yet clever exercise for sharpening foundational indexing skills. Gain access to the full problem text, test cases, and a clean programmatic solution by subscribing today.
Coding QuestionsUpstartScale Ingredient Quantities
2/5As a practical coding task featured by Upstart, this question requires you to process structured text data containing ingredient measurements and scale them proportionally based on a target group size. The exercise evaluates your string manipulation skills, basic arithmetic scaling, and ability to handle formatted input data gracefully. You will need to parse text lines accurately while preserving units and nomenclature. Access to the complete problem definition and a clean model solution requires an active subscription.
Coding QuestionsUpstartRemove Duplicate Integers While Preserving Order
2/5This foundational coding interview question from Upstart tasks candidates with filtering an integer collection to eliminate duplicate values while strictly preserving the original appearance sequence of the remaining elements. The task evaluates proficiency with linear data structures, time-space complexity optimization, and clean implementation practices under strict input scale constraints. To access the complete problem statement, test cases, and an optimal production-ready solution, a paid subscription is required.
Coding QuestionsUpstartMinimum Adjacent Swaps to Transform One String into Another
3/5This algorithmic puzzle, commonly encountered in technical interviews at Verily, challenges you to determine the fewest adjacent character movements needed to transform one permutation into another. The exercise assesses your understanding of string manipulation, inversions, and optimization techniques within sequence transformations. Reviewing the complete problem statement, edge cases, and optimal code implementation requires an active subscription.
Coding QuestionsVerilyFetch Weather Data and Predict Coldest Period
3/5Automating external API interactions and processing geographical data streams are vital skills for modern data engineering workflows. This Verse Medical interview scenario requires you to read a batch of locations, query meteorological services for upcoming forecasts, and compute specific temporal minimums for each region. Building a reliable pipeline that handles file input, network requests, and structured output is key to success. The complete exercise requirements and reference code solution require a paid subscription.
Coding QuestionsVerse MedicalImplement Max Pooling with Argmax Coordinates
3/5This Waymo interview question focuses on implementing a fundamental operation in machine learning: max pooling. Candidates are asked to process an input tensor or matrix, extracting the maximum value within defined windows. A crucial follow-up extends this by requiring not just the maximum values, but also the precise coordinates within each window where those maxima were found. This problem evaluates your understanding of array manipulation, algorithmic implementation, and careful handling of details like windowing, stride, and boundary conditions. The full problem description and a detailed model solution are available with a subscription.
Coding QuestionsWaymoFind Gaps in Logistics
2/5Analyze a temporal sequence processing challenge commonly encountered in HackerRank assessments. Given a chronologically ordered dataset of supply chain milestones, your goal is to identify and report every inactive interval where no operational activity is recorded between consecutive occurrences. This problem evaluates your competency in sorting techniques, date-time arithmetic, and boundary analysis. Unlock the comprehensive prompt details and complete tested solution by becoming a subscriber today.
Coding QuestionsHackerRankFunnel Algorithm Problem
3/5Reported from Faire interviews, this algorithmic challenge requires you to distribute a sorted sequence of numbers into specialized groups based on multiplicative ratios. The problem tests your advanced data structuring capabilities and pattern recognition over large numeric datasets. Unlock the complete challenge specification and optimized solution code with a subscription.
Coding QuestionsFaireRepeated Sliding Window Sum Until One Element Remains
3/5Featured in a VMware technical assessment, this problem explores iterative array reduction through sliding window aggregations. You are required to repeatedly process a sequence by summing elements across overlapping windows using a defined step size until only a single value remains. This puzzle tests your ability to manage iterative transformations, simulate reduction processes, and handle boundary constraints effectively. Discover the complete problem guidelines, constraints, and professional model solution with a subscription.
Coding QuestionsVMwareInsert Interval
3/5Place one new interval into a sorted, non-overlapping list and merge whatever it touches, keeping the result ordered and disjoint. This OpenAI warm-up is short and unforgiving: the three regions before, across, and after the insertion each need their own handling, and an off-by-one at a shared endpoint changes the answer. You will decide whether touching intervals count as overlapping, and keep the pass linear instead of re-sorting. Subscribers get the complete problem and a clean reference solution.
Coding QuestionsOpenAIMaximum Distinct Integers After ±k Offset
3/5Explore how to maximize the variety of elements in a sequence after applying unique adjustments from a restricted range to each item. This problem, recently featured in technical screens at xAI, tests your ability to apply greedy strategies and manage collections efficiently. You will need to carefully consider how to assign distinct modification values to optimize the final outcome. To access the complete problem breakdown, comprehensive analysis, and verified model solution, a paid subscription is required.
Coding QuestionsxAIDetermine Minimum Partitions Required
3/5In this Cloudflare interview question, you are tasked with analyzing storage allocations to compute the minimum number of data containers required to hold a specific workload. The challenge evaluates your resource management capabilities, mathematical reasoning, and ability to handle fragmented chunk distributions across capacity boundaries. You will need to design an efficient algorithm that minimizes overhead while satisfying all sizing constraints. Gain full access to the complete problem breakdown and expert solution by subscribing.
Coding QuestionsCloudflareLargest Square Area in Cityscape
3/5Analyze urban architectural layouts in this geometric interview challenge highlighted by Visa recruitment processes. Given an adjacent sequence of vertical structures of varying elevations, your objective is to determine the largest possible square region that can fit within the skyline boundaries. This problem effectively evaluates stack-based data structures and efficient range querying techniques for rectangle and square detection. Access to the complete problem statement and clean code implementation requires a subscription.
Coding QuestionsVisaMax GPUs with Unlimited Switching Across Clusters (Per Day)
2/5This Mistral AI interview question presents an optimization puzzle where you must track resource availability across multiple groups over a timeline with flexible transition rules. Candidates need to determine the optimal cumulative yield by making strategic daily choices without restrictive penalties for switching categories. The puzzle tests your ability to model dynamic programming or greedy choices effectively. The full problem statement and clean model solution are accessible only with a subscription.
Coding QuestionsMistral AIBitmaps Indicating Number Repetition Before/After Positions
2/5Featured in SMBC technical interviews, this coding challenge focuses on sequence analysis and pattern matching within arrays. You are tasked with generating dual binary indicator strings that reveal whether particular elements have previously emerged or will appear subsequently in the collection. The exercise tests your efficiency in traversing sequential data while keeping track of historical and future occurrences using optimal lookup techniques. Access the comprehensive problem description and verified model solution by upgrading to a paid subscription.
Coding QuestionsSMBCFind Unreachable Heap Objects from Stack Addresses
2/5This interview challenge, recently asked at Anduril, focuses on memory management by asking you to isolate unreferenced entities given a set of active pointer references. It assesses your data structure traversal skills and ability to efficiently compare memory addresses. Unlock access to the full problem and optimal code solution by purchasing a subscription.
Coding QuestionsAndurilMerge Intervals (Variant)
3/5Sharpen your interval manipulation skills with this classic algorithmic puzzle reported during Nextdoor hiring loops. The challenge requires you to process a collection of paired boundaries, identify overlapping ranges, and consolidate them into a streamlined set of unique segments. This task evaluates your ability to sort and iterate through structured data efficiently while managing edge cases. Unlock the complete problem guidelines and optimal code implementation with a subscription.
Coding QuestionsNextdoorSum of Compressed Number for All Subarrays
4/5Featured in coding evaluations at Wells Fargo, this advanced problem explores subarray compression and combinatorial counting. You are asked to analyze an integer array by collapsing consecutive duplicate elements and computing specific subsequence reduction metrics across all possible contiguous segments. This task tests deep combinatorial insight and efficient range query handling. Gain access to the full problem description, mathematical analysis, and optimal programmatic solution with a paid subscription.
Coding QuestionsWells FargoJump Game
3/5Navigating sequential arrays with variable advancement limits is a popular interview staple, featured as a reported Visa interview question. Participants must determine whether it is feasible to traverse from the initial index to the very end of a sequence given dynamic step allowances at each milestone. This problem is designed to test your mastery of greedy trajectory tracking and forward-looking state management. Get full access to the complete problem instructions and an optimized model solution with a paid subscription.
Coding QuestionsVisaTwo-Intern Task Assignment Max Reward
3/5Tackle this engaging algorithmic programming challenge frequently featured in technical screenings at MathWorks. The objective centers on optimally distributing a collection of assignments between two participants based on distinct performance metrics to maximize the overall payout. You will need to apply efficient sorting and greedy selection principles to determine the ideal allocation strategy under specific quota constraints. Review the comprehensive problem statement and optimal coded answer by acquiring a paid subscription.
Coding QuestionsMathWorksMaximize Profit with Stock Transactions
2/5A coding question about stock prices over a series of days. You decide when a single purchase and a later sale would have earned the most, or report that no profit is possible.
Coding QuestionsZillowSubarray Score ≤ K (Sliding-Window)
3/5This Pinterest reported interview question asks you to count how many contiguous subranges in a numeric array meet a score threshold defined by the product of the subrange sum and its length. The challenge demands an optimal linear-time solution, typically leveraging sliding window techniques or monotonic properties to avoid redundant calculations. It evaluates your grasp of pointer manipulation and performance optimization for array processing tasks. Access to the complete problem breakdown and expert model solution requires an active subscription.
Coding QuestionsPinterestSignal Filter
2/5This algorithmic problem from a Zscaler interview requires you to determine how many numerical inputs successfully pass through a series of overlapping boundary restrictions. You will need to compute intersections across multiple filtering intervals efficiently to isolate the valid subset of elements. The challenge tests your data structuring and interval manipulation capabilities under performance constraints. Access the complete problem description and model solution by unlocking a subscription.
Coding QuestionsZscalerKth Largest Element
3/5Practice a fundamental data structure question frequently asked during software engineering interviews at Zillow. Given an unsorted collection of numbers, your task is to identify the specific numerical value positioned at a targeted rank when sorted in descending order. This problem effectively evaluates your ability to leverage priority queues and heap mechanics to solve selection problems efficiently without sorting the entire dataset. Unlock the complete problem statement, detailed explanations, and clean code solutions through a subscription.
Coding QuestionsZillowPhoto Album
3/5Master this engaging interview problem from FactSet, which revolves around simulating element insertions into a collection while managing dynamic shifts in position. You will need to reconstruct the final arrangement of items after sequentially placing each element according to its designated index. This exercise tests your proficiency with list manipulation and positional tracking. Reviewing the complete problem statement and efficient solution demands a subscription.
Coding QuestionsFactSetFind Two Numbers in Array Equal to Target
2/5Reported from technical interviews at Aurora, this fundamental coding exercise challenges you to locate a pair of elements within an integer collection that sum up to a specific target value and return their corresponding positions. It serves as an essential test for optimizing search performance using hash-based data structures to reduce time complexity. View the complete problem description and efficient algorithmic solution by securing a subscription.
Coding QuestionsAuroraFlight Tracker — User Location at a Given Time
3/5This Ramp interview question challenges candidates to process a collection of journeys to track individual whereabouts and identify the most active traveler. The problem evaluates your ability to manage temporal intervals, apply efficient lookup strategies like binary search over sorted schedules, and handle tie-breaking criteria cleanly. You will need to structure data effectively to answer point-in-time queries accurately. The full problem and model solution require a subscription.
Coding QuestionsRampMinimum Segment Merges to Make Two Arrays Identical by Summing Subarrays
4/5Advanced array transformation and reduction strategies form the core of rigorous algorithmic assessments, often highlighted in interviews at Virtu Financial. This problem challenges you to find the minimum possible length of two sequences after repeatedly replacing contiguous subarrays with their sums until both structures become identical. It tests your deep comprehension of prefix sums, array reductions, and invariant properties under compression operations. Sharpening your skills on this topic prepares you for highly complex competitive programming challenges. The full problem statement and optimal model solution require a paid subscription.
Coding QuestionsVirtu FinancialMinimum Cost to Color a Row of Houses
3/5A coding question about assigning one of three options to each item in a line at minimum total price, where items that sit next to each other must receive different options.
Coding QuestionsShopifyAllocate Wells for Fair Distribution
4/5Dive into this resource allocation puzzle encountered in software engineering interviews at Wells Fargo. You are tasked with dividing circular array elements among multiple recipients in a contiguous manner, striving for an equitable division that narrows the gap between maximum and minimum shares. This question examines your proficiency with circular data structures, prefix sums, and optimization techniques. Reviewing the complete problem statement and acquiring the optimal solution demands an active subscription.
Coding QuestionsWells FargoTrajectory Waypoint Distance Queries
3/5In this Tesla technical screening task, developers must process a spatial path represented by coordinate points alongside a collection of travel milestones. The goal is to simulate movement along the route and evaluate proximity thresholds at specific intervals. This problem tests spatial reasoning, distance calculations, and efficient data handling. Gain access to the full problem breakdown and expert code implementation by subscribing today.
Coding QuestionsTeslaFind Strictly Decreasing 8-Hour Weather Periods for Equatorial Cities
3/5This Verse Medical interview challenge requires combining relational database queries with external weather forecasting data to analyze temperature trends. Candidates must write robust logic to identify specific consecutive hourly cooling periods specifically tailored for geographical locations near the equator. This problem tests your ability to process asynchronous API payloads alongside structured SQL datasets efficiently. Unlock the complete problem description and an optimized model solution by purchasing a subscription.
Coding QuestionsVerse MedicalCalculate Bowling Game Score
3/5Simulate the complex scoring mechanics of a traditional ten-pin athletic game based on raw performance logs, as featured in interviews with The Trade Desk. This exercise challenges your ability to handle conditional bonuses, consecutive multi-roll multipliers, and special terminal frame rules within a sequential stream of inputs. You will need to structure your logic cleanly to correctly propagate future rewards back to earlier turns without missing edge cases. Gain access to the full problem text and validated solution through a subscription.
Coding QuestionsThe Trade DeskTwo-Player Array Picking Game with Reverse-on-Odd Rule (Score Difference)
3/5Explore this intriguing ADIA interview question simulating a strategic two-player collection contest over a sequence of integers. Competitors take turns removing elements under distinct parity-based scoring rules, with one participant triggering a complete sequence reversal whenever they select an odd value. This exercise tests your simulation logic, state management, and algorithmic thinking under dynamic conditions. Unlock the comprehensive problem statement and verified model solution with a subscription.
Coding QuestionsADIAClosest Triple Sum to a Target
3/5Given a list of integers and a target value, pick three entries whose total lands nearest the target and report that total. Handle ties between equally near totals and small or extreme inputs.
Coding QuestionsWarner Music GroupPalindromic Array Transformation
3/5This algorithmic puzzle from a PayPay interview challenges you to manipulate a collection of string elements through controlled character shifts across boundaries to achieve a symmetric array structure. The problem examines your proficiency with greedy transformations, array indexing, and state validation under strict operational rules. Explore the complete problem details, algorithmic insights, and the step-by-step model solution by securing a subscription.
Coding QuestionsPayPayRow Maximum / Column Minimum
2/5A coding question on scanning a grid of numbers for a value that is the top of its row and the bottom of its column. It tests organising the precomputation so the grid is traversed only a few times, and handling the case where no such value exists.
Coding QuestionsCiscoPhone Battery Discharge Scheduling in Cyclic Order
2/5A coding question on simulating a phone that switches between spare batteries in a fixed cycle while they drain and recharge. The learner reports which batteries run out and how much real time passes before a target amount of use is reached.
Coding QuestionsRobloxCircular Active Computers Window
2/5Asked during JPMorgan technical rounds, this array manipulation challenge focuses on finding the optimal concentration of active binary states within a fixed-size segment of a circular arrangement. Candidates must efficiently evaluate contiguous subsections that wrap around the boundaries of the sequence without incurring excessive computational overhead. This question tests sliding window techniques and modular indexing logic. Unlock the complete problem definition, test scenarios, and a clean reference solution with our subscription.
Coding QuestionsJPMorganArray Left / Right Duplicate Check (Binary Strings)
2/5Featured as an initial problem in a Salesforce coding challenge, this task requires you to analyze an integer array and determine historical and future occurrences for each element. You will test your efficiency in scanning sequences and encoding presence flags into binary strings that indicate whether a value appears earlier or later in the collection. Unlock the full problem details, optimal linear-time approaches, and the complete model solution with a paid subscription.
Coding QuestionsSalesforceReverse the Order of k-Groups in a Linked List
3/5Given the values of a list and a group size, rearrange the list so the full groups appear in reverse order while each group keeps its own order. A shorter final group remains at the end.
Coding QuestionsByteDanceArray Challenge Left-Comparison Running Counter
3/5Examine this intriguing array manipulation challenge reminiscent of quantitative interviews at Akuna Capital, which asks you to compute a running comparative score for every element against all preceding values in a sequence. You will evaluate numerical differences based on relative magnitudes, adding or subtracting absolute gaps according to specific directional rules. This exercise challenges your ability to optimize nested comparisons and recognize mathematical cancellations for better time complexity. To view the complete problem statement, comprehensive test suites, and reference solutions, a subscription is required.
Coding QuestionsAkuna CapitalExpression Strings That Evaluate to Target
2/5A coding question on combining pairs of numbers with arithmetic operators to hit a target. It tests careful handling of operand order, exact division, negative values and duplicate results.
Coding QuestionsNetflixMaximum Requests in a Time Window
2/5In this technical challenge reported from a Salesforce online assessment, candidates must determine the highest frequency of events falling within a sliding time interval of fixed duration. The problem evaluates your ability to efficiently analyze sequential numerical data and optimize window-based queries without resorting to slow brute-force scans. You will need to apply smart pointer or sorting strategies to handle large inputs smoothly. Unlock the complete problem statement and model implementation by securing a subscription.
Coding QuestionsSalesforceSliding Window Time Statistics
3/5This reported Datadog interview challenge requires you to process sequential temporal records and calculate frequency metrics across a rolling timeframe. It evaluates your ability to optimize range queries using efficient scanning techniques over ordered datasets. Access the complete breakdown and optimal code implementation with an active subscription.
Coding QuestionsDatadogMaximum Subarray Sum With Edge Cases
3/5A coding question on arrays: find the largest sum of any contiguous stretch of an integer list. It tests inputs that trip up quick answers, such as lists made only of negative values, a single element, zeros, very large numbers and an empty list, and how each case should be reported.
Coding QuestionsUpstartLargest Rectangle in Histogram
4/5This classic algorithmic challenge, frequently asked in ByteDance interviews, requires you to efficiently compute the maximum rectangular area that can be formed within a histogram given an array of bar heights. The assessment evaluates your mastery of linear-time monotonic stack algorithms and your ability to optimize spatial geometry computations. To view the complete problem breakdown and optimal model implementation, a subscription is required.
Coding QuestionsByteDanceMinimum Meetings to Cancel to Remove Overlaps
3/5This Maven Clinic interview question challenges candidates to efficiently manage scheduling conflicts by determining the fewest reservations that must be removed to eliminate all time overlaps. It tests your ability to analyze interval data structures and optimize sorting techniques to find the best removal strategy. Access to the comprehensive problem description and optimal program solution requires a subscription.
Coding QuestionsMaven ClinicDaily Remaining GPUs per Cluster
2/5This Mistral AI interview question challenges candidates to track daily hardware availability across multiple infrastructure pools. You will process chronologically ordered consumption logs where resource quotas automatically replenish at the conclusion of each calendar day. The task evaluates your ability to maintain state efficiently and perform daily aggregate calculations against predefined limits. Access to the complete problem description and an optimal tested implementation requires a subscription.
Coding QuestionsMistral AIMinimum Swaps to Put Evens Before Odds
2/5A coding question on rearranging a list of integers by swapping pairs so that all even values come before all odd values. The learner returns the fewest swaps that is enough, and the list itself may include negative numbers and zeros.
Coding QuestionsOracleCount Numbers Passing All Intervals (Intersection Filter)
3/5In this Squarespace interview question, you are tasked with identifying how many elements from a given collection fall squarely within the overlapping region of a set of numeric boundaries. This problem tests your efficiency in interval math, range intersection logic, and array filtering techniques. Explore the complete problem statement and optimal algorithmic solution by obtaining a paid subscription.
Coding QuestionsSquarespaceMaximum Subarray Sum
3/5A classic algorithmic problem encountered in PayPal software engineering loops, this challenge requires identifying the contiguous segment within a numeric sequence that yields the highest cumulative sum. Candidates must devise an efficient linear-time approach using dynamic programming techniques to avoid the heavy computational cost of nested iteration. This problem thoroughly tests your ability to optimize dynamic state tracking on arrays. Access the complete problem statement and clean code solution by purchasing a subscription.
Coding QuestionsPayPalSubarray Removal
3/5Test your algorithmic thinking with this intriguing subarray elimination puzzle featured in D. E. Shaw recruitment rounds. The problem challenges you to determine how many different contiguous segments can be dropped from a sequence so that the remaining elements form a strictly increasing order. This task examines your capability to optimize linear scans and manage range boundaries effectively. To view the complete problem instructions and comprehensive model solution, please subscribe.
Coding QuestionsD. E. ShawBinary Search — Rightmost Index of Duplicate
2/5A coding question on a sorted list that contains repeated values: report the position of the last copy of a requested value, or a sentinel when it is absent, in much less than linear time.
Coding QuestionsOracleLargest Sum of a Steep Subsequence
4/5A coding question about choosing elements of an integer list, in order, under a rule that ties how much the values rise to how far apart the chosen positions are, so that the chosen elements add up to as much as possible.
Coding QuestionsServiceNowZero Out Rows and Columns In Place
3/5A coding question on clearing a grid of numbers: wherever a zero appears, its whole row and column must also become zero. The change must be applied to the given grid itself, and rows may have different lengths.
Coding QuestionsOracleSecond Most Frequent GIF Tag
3/5As featured in a SoFi technical screening, this problem asks you to parse a flattened sequence of structured records, tally occurrences of specific categorical labels, and isolate the runner-up under various tie-breaking conditions. The assessment focuses on linear-time scanning and effective hash map management. Unlock the complete problem description and expert solution by getting a subscription.
Coding QuestionsSoFiSurviving Asteroids After Collisions
3/5A coding question on a line of moving objects with sizes and directions. You determine which of them are left after every head-on meeting has been settled, and report their sizes in the original order.
Coding QuestionsIMC TradingMinimum Length Subarray With Sum at Least K
3/5This coding interview question, frequently featured at DocuSign, challenges candidates to find the shortest contiguous sequence within an array of positive integers whose cumulative sum meets or exceeds a given threshold. The exercise evaluates your ability to optimize search spaces and efficiently manage sliding boundaries or prefix sums under tight computational limits. Successfully tackling this problem requires mastering linear-time scanning techniques to handle large datasets effectively. The complete problem description and model solution require a subscription.
Coding QuestionsDocuSignSecret Santa / Gift Assignment from CSV
2/5Tackle a practical data manipulation and randomization puzzle often assigned in Shopify software engineering interviews, requiring the automated assignment of holiday gift partners from a CSV input. This problem tests your capability to parse tabular inputs, handle ambiguous requirements, and implement randomized constraints without self-assignments. Excelling in this task demonstrates your knack for writing pragmatic scripts under loosely defined specifications. Unlock the full prompt details and professional reference solution by subscribing today.
Coding QuestionsShopifyKth Unique Maximum from Two Sorted Arrays
3/5This SoFi interview question challenges you to find the specified top unique maximum value by combining two pre-sorted collections in descending order. It tests your ability to efficiently manage multiple pointers and handle duplicate elements without sorting from scratch. Access to the full problem description and expert model solution requires a paid subscription.
Coding QuestionsSoFiMinimum Height Difference Between Distant Peaks
3/5In this algorithmic puzzle reported from Roblox, you are given an array representing mountain elevations and must find the minimum absolute difference between any two peak heights separated by at least a specified index distance. The problem tests your capability to optimize linear scans and maintain sliding window extrema. To access the complete problem details, optimal complexity bounds, and tested code solution, a paid subscription is required.
Coding QuestionsRobloxFilter SIM Records by Attributes
2/5Data filtering and collection processing are essential skills evaluated during technical assessments, such as those reported for Commure. This exercise requires you to process a collection of structured profiles and extract items that satisfy a dynamic set of criteria. You will need to handle multiple optional constraints, including exact matches and numerical bounds, ensuring your logic accurately evaluates every condition. Tackling this challenge helps build robust data querying skills for real-world applications. Access to the comprehensive problem statement and verified model solution requires an active subscription.
Coding QuestionsCommureFind Max Minimum Value Using K Elements
3/5Reported as a ServiceNow interview question, this optimization task requires you to select a specific subset of indices from dual arrays to maximize a bottleneck metric. The objective is to pick elements such that the lesser of the two accumulated sums across the chosen positions reaches its highest possible value. The problem tests your optimization techniques and combinatorial search capabilities. The full problem and model solution require a subscription.
Coding QuestionsServiceNowTeam Formation
3/5This interview challenge, frequently featured in Agoda technical screenings, requires candidates to assemble the largest possible team of developers while respecting individual capacity limits regarding higher and lower skilled colleagues. Participants must evaluate how each prospective member fits into a sequentially ordered group without violating specific thresholds for superior and inferior peers. This puzzle tests advanced array manipulation and combinatorial logic under strict constraints. Access to the complete problem description, optimal algorithmic approach, and fully commented model solution requires a subscription.
Coding QuestionsAgodaFind Numbers with Two Sevens Divisible by Three
2/5This HackerRank interview challenge requires you to filter a sequence of integers to identify numbers that contain exactly two occurrences of the digit seven and are also divisible by three. The task tests your string manipulation skills, numerical digit extraction, and modular arithmetic logic while preserving the original sequence order. It serves as a great practice for combining multiple conditional filters in data processing tasks. To access the full problem details and verified solution code, a subscription is required.
Coding QuestionsHackerRankError Rate Window Health Check
1/5This Netflix-style question assesses your ability to evaluate system health based on a series of recorded error rates. You are given a sequence of error measurements over time and must determine if the system is considered healthy at a specific moment. The criteria for health involve examining all error rates within a defined time window around the given point. Every value within this window must strictly fall below a specified threshold, with careful handling of array boundaries. This problem tests fundamental array processing, windowing logic, and conditional evaluation. The full problem description and a model solution are available with a subscription.
Coding QuestionsNetflixSearch in a Sorted Array
2/5Practice efficient searching techniques in ordered datasets through this Equinix interview question. The objective asks you to locate a specific numerical value within a monotonically increasing collection faster than a traditional linear scan. This challenge assesses your grasp of logarithmic search paradigms and boundary handling. Unlock the complete problem guide and model solution by subscribing.
Coding QuestionsEquinixPiles Of Boxes
3/5This interview question, sourced from BNP Paribas, presents a scenario where you must equalize the heights of multiple stacks of items using a series of reduction steps. Each move involves lowering the tallest piles to match the next available height level, and you must calculate the minimum number of operations required to achieve uniformity. It is an excellent test of sorting, frequency counting, and mathematical optimization skills. Unlock the full problem description and comprehensive solution with an active subscription.
Coding QuestionsBNP ParibasBinary Search (basic)
2/5As a fundamental algorithmic evaluation featured by Rokt, this problem tests your mastery of logarithmic search strategies on ordered datasets. Candidates must implement a precise pointer-based traversal to locate target values efficiently while handling boundary conditions correctly. Get access to the full problem description and clean implementation by securing a subscription.
Coding QuestionsRoktPermutation Check and Integer-Exponent Power
3/5A coding question with two short parts: validating that a list holds each value of a range exactly once, and computing an integer power of a float for very large exponents. It tests edge cases such as empty input, out-of-range values and negative exponents.
Coding QuestionsTeslaFixed-Length Windows That Contain a Target
2/5A coding question on scanning an integer array in fixed-length blocks to report every block that holds a given value, with a follow-up that picks the block holding the most copies of it. It checks careful handling of ties, absent values and blocks longer than the array.
Coding QuestionsRobloxStock Buy Sell Position Indicator
3/5Featured in a Hudson River Trading interview, this algorithmic challenge requires you to track dynamic state changes and trigger position adjustments based on specific sequential patterns. You will process numerical streams to detect predefined momentum rules while ignoring flat intervals to maintain an accurate running portfolio balance. This puzzle tests your stream processing logic and state management skills under precise behavioral constraints. Access the complete problem specification and optimal model solution through a subscription.
Coding QuestionsHudson River TradingSliding-Window Top K
3/5Report the few largest values of every fixed-length window as it moves across an array of integers, with duplicates, short windows and large inputs to handle. Each window is answered in descending order.
Coding QuestionsCitadelBounding Rectangle of Points
2/5Compute spatial boundaries for a set of coordinates in this Upstart interview challenge. The goal requires determining the smallest axis-aligned bounding box that encloses a collection of two-dimensional points efficiently. This task tests basic geometry intuition and coordinate scanning optimization. Unlock the full problem specifications and model solution by subscribing.
Coding QuestionsUpstartValid 5-Card Poker Straight
2/5Asked during an Oracle Health screening process, this exercise requires you to evaluate a hand of playing cards to check if they form a valid sequence of consecutive values with flexible handling for face cards and aces. It assesses foundational data manipulation, conditional logic, and mapping techniques within a timed coding environment. Unlock the full prompt and complete code solution by getting a subscription.
Coding QuestionsOracleCampaign Cost Weekly Partition
4/5A coding question on splitting an ordered list of costs into a fixed number of consecutive groups so that the total of the group peaks is as low as possible. It tests how you define the subproblem and reason about why locally cheap splits can be globally worse. The full statement, tests and worked solution are for subscribers.
Coding QuestionsSalesforceTwo Sum: Find Indices of Two Numbers Summing to Target
2/5This classic coding interview question, frequently asked by Visa, requires you to find the positions of two numbers within an array that add up to a specified target value. The exercise tests your familiarity with hash-based lookups and your ability to optimize time complexity from quadratic to linear. You will need to design an efficient algorithm that processes the sequence swiftly while handling constraints. Unlock the complete problem breakdown and optimal solution code with a subscription.
Coding QuestionsVisaCount Number of Nice Subarrays
3/5Featured in recent ByteDance technical interviews, this array manipulation challenge tests your efficiency with continuous sequence analysis and prefix-sum counting techniques. You are tasked with identifying and quantifying specific contiguous segments within an integer collection that contain a precise quantity of odd numbers. The exercise evaluates your capability to optimize nested loops into linear-time sliding window or hash-based solutions. To access the complete problem statement, complexity analysis, and verified model solution, a subscription is required.
Coding QuestionsByteDanceCoin Change Problem
3/5This classic interview problem from GEICO challenges you to find the minimum number of coin units needed to form a specific target sum using an unlimited supply of given denominations. It evaluates your dynamic programming abilities, specifically your knack for breaking down optimization problems into overlapping subproblems and building efficient tabular solutions. Unlock the comprehensive explanation, complexity analysis, and working code by subscribing to our platform.
Coding QuestionsGEICOProportional Allocation Backtest
3/5This quantitative development challenge from Optiver requires building a backtesting engine that simulates portfolio performance over historical price sequences using a predefined proportional allocation strategy. You will need to compute net asset values across multiple time periods while accurately tracking capital allocation rules. The exercise evaluates your numerical programming proficiency and domain understanding of financial backtesting systems. Unlock the complete technical specifications and reference implementation by securing a subscription.
Coding QuestionsOptiverText Editor String Operations: Insert, Delete, Get Character
2/5This GEICO interview problem requires you to design and implement a core set of operations for a text editor. You'll need to support efficient insertion of characters at specific indices, deletion of character ranges, and retrieval of individual characters. The challenge lies in choosing and implementing a data structure that can handle these dynamic string modifications effectively, ensuring good performance for all operations. This tests your understanding of data structures suitable for mutable sequences. The full problem and model solution require a subscription.
Coding QuestionsGEICOMinimum Elevator Time to Move Boxes Up
3/5A coding question about an elevator that must bring boxes from lower floors to the top, carrying at most one box per floor on each trip; the task is the least total travel time.
Coding QuestionsPublicis SapientMinimum Excludant (MEX) Problem
2/5Featured in Radix Trading loops, this coding problem requires finding the smallest non-negative integer absent from a provided collection of numbers. You will explore efficient ways to scan or sort the collection to quickly isolate the missing value. The exercise tests your understanding of set logic, sorting trade-offs, and optimal array searching. Explore the complete problem description and fully tested solution by subscribing today.
Coding QuestionsRadix TradingMerge All Overlapping Intervals
3/5A coding question on combining a list of closed ranges on the number line into the fewest disjoint ranges covering the same points. The learner returns them in increasing order and has to deal with ranges meeting at a single end point, ranges nested inside others, and single-point ranges.
Coding QuestionsFractal AnalyticsCounting Arrays
3/5Exploring combinatorial state spaces and numerical sequences is a common theme in algorithmic screening, exemplified by this Demonware interview challenge. Participants must determine the total quantity of distinct arrays that can be generated through iterative decrement operations on subsets of elements, ensuring results are appropriately bounded. This problem exercises deep combinatorial reasoning, pattern recognition, and efficient modulo arithmetic. Access to the complete problem text, detailed constraints, and expert solution is reserved for subscribed members.
Coding QuestionsDemonwareConsolidate Overlapping Intervals
3/5A coding question about combining ranges on a number line. Given unordered ranges, produce the minimal set of non-overlapping ranges, paying attention to ranges that merely touch at an endpoint.
Coding QuestionsJPMorganBatched Trajectory Suffix Sum
3/5Evaluating tensor trajectories efficiently is a critical algorithmic task in autonomous driving development, as seen in AI foundation interviews at Tesla. This problem requires candidates to process multidimensional coordinate arrays and compute cumulative suffix metrics across sequential waypoints for multiple batches simultaneously. Success hinges on avoiding explicit looping constructs through clever vectorization and reverse accumulation techniques. To review the optimal tensor operation approach and complete reference code, unlock full access with a subscription.
Coding QuestionsTeslaMerge Two Sorted Lists with Maximum Length Constraint
2/5Handling ordered data under strict size limits is a frequent theme in systems interviews, as seen in this HubSpot coding challenge. The objective is to combine two sorted sequences while ensuring the resulting collection does not exceed a specified maximum length constraint. This problem assesses your pointer manipulation and algorithmic efficiency when dealing with sorted arrays. Access the complete problem specification and verified solution with a subscription.
Coding QuestionsHubSpotBinary Search Log Entries by Date String
2/5This reported Pinterest interview challenge evaluates your ability to efficiently locate chronological records using logarithmic search techniques. Candidates must handle structured text timestamps to pinpoint exact matches or correct insertion boundaries, with advanced variants requiring frequency analysis alongside ordered lookups. This exercise tests your command over divide-and-conquer strategies and custom comparator logic on formatted data. Access to the comprehensive problem breakdown and verified reference implementation requires an active subscription.
Coding QuestionsPinterestFewest Refills to Reach a Target Planet When Every Refill Fills the Tank
3/5A coding question about a ship flying forward along a line to a target planet, where each refuelling stop refills the tank to a fixed capacity rather than adding fuel. You return the fewest stops needed, or report that the planet cannot be reached.
Coding QuestionsNumericMaximize Sum of B Beating A by Permutation
3/5This strategic pairing puzzle, shared by candidates interviewing at Walmart Labs, requires you to rearrange a collection of integers to maximize favorable comparisons against a baseline array. The problem evaluates your ability to combine sorting strategies with greedy matching techniques to achieve optimal outcomes efficiently under moderate input constraints. You must carefully design your approach to avoid slow quadratic runtimes while ensuring all permutation rules are strictly satisfied. To read the complete problem statement, worked examples, and a fully optimized model solution, please subscribe.
Coding QuestionsWalmart LabsThird Largest Word by Length (Stable Tie-Break)
2/5String manipulation and custom sorting logic are frequent themes in assessments, as highlighted by this Codeium interview question. The challenge requires you to analyze a collection of words, rank them by length in descending order, and identify the third largest item while carefully applying deterministic tie-breaking rules based on original positioning. It tests your ability to combine sorting algorithms with custom comparator logic and boundary checks. Upgrade to a paid subscription to view the complete problem details and an optimal model solution.
Coding QuestionsCodeiumDays Until No Plant Dies
4/5A coding question about a row of plants that thins out day after day as plants with more pesticide than their left neighbour die together. Learners return how many days have deaths, for rows of up to one hundred thousand plants.
Coding QuestionsWalmart LabsValidate NxN Grid as Latin Square
2/5A coding question about validating that a square table of integers is a Latin square. It tests shape checking, handling of irregular input and verifying both rows and columns.
Coding QuestionsWalmart LabsValidate Nonogram Solution
3/5In this Walmart Labs interview question, you are given a grid of shaded and unshaded cells alongside numerical constraints for every row and column, requiring you to verify if the matrix accurately solves a picture-logic puzzle. You must systematically parse linear segments to confirm that contiguous blocks of filled cells match the exact run-length specifications provided in the input. This exercise tests your array validation logic and attention to detail when processing matrix coordinates. Access the full problem statement and clean algorithmic solution through a paid subscription.
Coding QuestionsWalmart Labs3Sum Variant Find Unique Triplets Summing to Target
3/5Reported as a coding challenge during screening at The Trade Desk, this exercise asks you to discover every unique trio of numbers within an array that adds up to a specific goal. The task tests your mastery of pointer manipulation, sorting techniques, and duplicate elimination strategies to ensure the resulting combinations meet strict ordering rules. Optimizing your approach is crucial to handle larger datasets efficiently without timing out. The full problem and model solution require a subscription.
Coding QuestionsThe Trade DeskLight Sources
3/5This Trade Desk interview challenge invites you to analyze overlapping intervals representing illuminated segments on a linear axis. Your objective is to compute the total span of coordinates that receive illumination from precisely one source, filtering out dark zones and overlapping regions. The exercise tests your skills in interval scheduling, sweep-line algorithms, and coordinate compression. Access to the complete problem description, performance boundaries, and the verified model solution requires a subscription.
Coding QuestionsThe Trade DeskFind Maximum Greatness
3/5Explore array permutation strategies through this popular interview scenario featured by Twilio. The objective requires you to reorder a collection of numeric elements to maximize the count of positions where the newly placed value strictly exceeds its original counterpart. This exercise tests your proficiency with greedy algorithms, sorting logic, and efficient sequence comparison. Accessing the comprehensive problem statement, accompanying test cases, and clean model solution demands a subscription.
Coding QuestionsTwilioK Smallest Elements in an Unsorted Array
3/5Examine a classic sorting and selection challenge reported during technical interviews at Hudson River Trading, where you need to isolate a specific subset of minimal values from an unordered collection. To ensure deterministic validation, the resulting elements must be sorted in ascending order before delivery. This scenario evaluates your grasp of priority queues, partitioning algorithms, and memory-efficient data management strategies when handling large-scale numeric datasets. The full problem and model solution require a subscription.
Coding QuestionsHudson River TradingBalanced Permutation Prefix Check
3/5In this Microsoft interview puzzle, you will analyze permutations to locate contiguous subsegments that contain consecutive integer ranges starting from one. For every possible subset size up to the sequence length, your goal is to determine if a valid matching window exists and compile the findings into a binary result string. This challenge measures your proficiency with range queries, multiset properties, and clever array traversal strategies. To view the full problem statement and professional model solution, subscribe today.
Coding QuestionsMicrosoftOrder Processing System
3/5In this Da Vinci Trading interview scenario, you are tasked with engineering a high-performance order processing system capable of ingesting financial exchange data feeds in real time. The goal is to efficiently maintain and query daily statistics, including total transaction volume, the top three largest purchase orders ranked by monetary value, and the optimal selling price at any given timestamp. Developing this solution requires balancing fast data retrieval with continuous stream updates. Unlock the complete challenge breakdown and expert implementation details with a subscription.
Coding QuestionsDa Vinci TradingEqual-Pairing Product Sum
2/5This MathWorks coding question presents an array manipulation puzzle where you must partition an even-length array into pairs. The core constraint is that every single pair formed must have an identical sum. If such a pairing is achievable, the task is to calculate and return the total sum of the products of elements within each pair. If no such valid pairing can be constructed, the function should indicate this impossibility. This problem often tests sorting, two-pointer techniques, and logical reasoning to identify valid pairings efficiently. The full problem description and a detailed model solution are available with a subscription.
Coding QuestionsMathWorksNumber of Ways to Split Array into Three Parts
3/5This algorithmic problem, featured in recent DocuSign technical screening rounds, challenges you to compute the number of valid ways to partition a linear sequence into three contiguous non-empty sections based on specific numeric summation constraints. It tests your ability to optimize prefix sums and range queries to achieve an efficient linear time complexity. To view the full problem description, complete test suites, and an optimized model solution, a subscription is required.
Coding QuestionsDocuSignImplement Previous/Next Lookup by ID in an Array of Records
2/5This ZipRecruiter interview question focuses on building fast navigational lookup functions for a sequential collection of data objects. Candidates need to implement mechanisms that quickly locate adjacent identifiers based on their original placement order within the collection. The challenge tests efficient indexing strategies and boundary condition handling for missing keys. The complete problem statement and professional reference solution are available exclusively to subscribers.
Coding QuestionsZipRecruiterTrack Top-2 Maximum Among N Children
2/5In this technical assessment question reported from Nuro, engineers are tasked with efficiently identifying the top two highest values among a collection of descendant nodes. The core challenge emphasizes optimizing performance by accomplishing the task during a single traversal loop while properly managing state variables. This puzzle evaluates fundamental algorithmic thinking and clean code writing abilities. Unlock the complete analytical walkthrough and expert reference solution with a subscription.
Coding QuestionsNuroMaximum Non-Adjacent Chocolates
3/5Choose from a row of containers so that no two chosen ones sit side by side, collecting as many items as possible in total. The exercise checks that you can turn a neighbour restriction into a clean per-position decision. Subscribers can open the complete statement and the model solution.
Coding QuestionsCiscoMinimum Boys to Seat Next to Every Girl
3/5In this engaging algorithmic puzzle often featured in Guidewire recruitment sessions, you must calculate the fewest individuals needed to occupy vacant spots so that every woman seated has at least one immediate neighbor. The task tests your understanding of linear arrangement logic, greedy strategy selection, and feasibility checking under strict spatial conditions. Solving this scenario effectively hones your ability to optimize resource placement in a one-dimensional layout. Unlock the full problem breakdown and verified code solution by upgrading to a paid subscription.
Coding QuestionsGuidewireBridge Car Weight Problem
3/5Highlighted as a practical coding assessment from GitHub, this scenario models vehicular traffic flow and load limits across a constrained crossing structure. Developers must process a sequential array of weights representing waiting transport units, ensuring the cumulative load never exceeds strict safety thresholds while tracking crossing order and timing constraints. This challenge tests simulation design, array traversal, and dynamic constraint checking. Full access to the problem description, constraints, and the verified model solution requires a subscription.
Coding QuestionsGitHubRotate Array
2/5This Warner Bros Discovery interview question invites candidates to manipulate a linear collection of integers by shifting elements across specified index boundaries before reversing the transformation. It tests fundamental array manipulation techniques, index arithmetic proficiency, and algorithmic efficiency in handling circular data structures. Developers will practice writing concise, bug-free code that preserves data integrity during sequential transformations. Access to the full problem statement and optimized model solution requires a subscription.
Coding QuestionsWarner Bros. DiscoveryFind All Unique Triplets Summing to Zero in Array
3/5Recapped from a Visa coding assessment, this popular algorithmic challenge asks you to discover all distinct combinations of three numbers within an integer collection that add up to zero. The task tests your mastery of sorting strategies, two-pointer techniques, and duplicate elimination in numeric arrays. You will need to design an efficient routine that avoids redundant configurations while scanning the dataset. Unlock the full challenge details and clean model implementation by obtaining a subscription.
Coding QuestionsVisaATM Queue
3/5Tackle a fascinating queue simulation challenge where individuals withdraw funds under strict transactional limits, featured during coding rounds at Squarepoint. This problem evaluates your competence with data structures like deques or queues, requiring you to simulate iterative depletion processes and accurately determine processing sequences. It is an excellent test of your ability to translate real-world constraints into efficient algorithmic logic. The full problem statement, test cases, and complete reference solution are available exclusively to subscribers.
Coding QuestionsSquarepointRefund Waterfall Across Payment Methods
3/5Simulate complex financial transaction logic with this Airbnb interview puzzle regarding refund distributions. Candidates must allocate refund amounts across historical payment records by prioritizing specific funding methods and chronological recency rules. This exercise evaluates custom sorting criteria and precise state management. Unlock the complete problem walkthrough and optimal code solution by subscribing.
Coding QuestionsAirbnbLargest Square of Ones
3/5A coding question about a grid of zeros and ones in which you report how wide the biggest solid block of ones can be. It checks careful handling of grids with no ones, grids that are entirely ones, and large inputs.
Coding QuestionsFactSetBuddies Greater than Target
2/5This introductory programming challenge, featured in technical screening loops at The Trade Desk, evaluates foundational array traversal and condition-checking abilities. Developers are tasked with inspecting a sequence of integer values to locate the earliest starting position where a consecutive group of elements strictly surpasses a given numerical threshold. While a straightforward brute-force approach satisfies the requirements, writing clean and optimal code is essential for success. Unlocking the complete problem description, test harness, and optimal model implementation requires an active membership subscription.
Coding QuestionsThe Trade DeskGenerate an m x n Spiral Matrix
3/5This Pinduoduo interview question tasks programmers with generating a two-dimensional grid populated with sequential integers arranged in a winding, inward-turning path. Candidates must implement precise boundary tracking and directional state changes to fill every cell correctly without omissions or overlaps. This challenge tests multidimensional array handling, coordinate math, and directional control logic. The full problem details, boundary constraints, and optimal source code require a subscription to access.
Coding QuestionsPinduoduoMax Neighbouring Even Pairs
2/5In this DRW interview puzzle, you are tasked with finding the maximum count of adjacent element groupings with even sums arranged in a circular structure, ensuring no element is shared between pairs. This problem tests your combinatorial reasoning and optimization skills when dealing with circular arrays and parity constraints. Unlock full access to examine the complete problem statement and discover the optimal model solution.
Coding QuestionsDRWCommon Elements in Two Lists
2/5Extract overlapping items from dual sequences containing mixed alphanumeric data in this practical BlackRock interview coding challenge. The exercise evaluates your proficiency in utilizing hash sets or frequency maps to efficiently compare collections and isolate shared elements without performance bottlenecks. It is a fundamental test of data collection manipulation and lookup optimization. Unlock the complete problem statement and clean reference implementation with a subscription.
Coding QuestionsBlackRockFind different elements in two lists
2/5This introductory programming problem, noted as an interview question at Bank of America, asks you to compare two collections of integers and isolate the items that appear in precisely one of the sequences. The task is designed to test your proficiency with basic data structures, collection manipulation, and efficient lookup operations to filter out common values. It serves as a great warm-up for assessing fundamental coding fluency and logical filtering skills in candidates. Reviewing the complete problem description and the clean reference implementation requires an active subscription.
Coding QuestionsBank of AmericaCompressing Array
3/5Explore this Wells Fargo coding challenge focused on array reduction and greedy optimization strategies under specific threshold constraints. The task requires you to evaluate adjacent elements and merge them conditionally to achieve the shortest possible sequence length. This problem effectively evaluates your logical thinking and algorithmic efficiency when dealing with cumulative reduction rules. Access to the full problem description, edge-case analysis, and expert solution requires a subscription.
Coding QuestionsWells FargoValid Set Cards
3/5Encountered during technical screenings at Snapchat, this puzzle challenge requires verifying whether a collection of multidimensional items satisfies specific combinatorial matching criteria across multiple attributes. It tests your combinatorial logic, data validation skills, and ability to handle structured categorical data cleanly. Unlock the full problem statement and optimal programmatic solution by securing a subscription.
Coding QuestionsSnapchatMaximum Number of Moves with Same Result
3/5Count the most moves you can make on an array when each move removes two elements from the ends or the front, and every move must produce the same total. This Microsoft question becomes tractable once you notice there are only three candidate totals to try, each determined by the first move. You will simulate each candidate with two pointers, count the moves it sustains, and take the best of the three. The full problem and the reference solution require a subscription.
Coding QuestionsMicrosoftMinimize Maximum of Array
3/5This Visa interview question presents an array manipulation challenge focused on optimization. You are given an array of non-negative integers and a specific operation: you can transfer a unit from any element to its immediate left neighbor. The goal is to perform these operations strategically any number of times to achieve the smallest possible value for the maximum element in the array. This problem requires careful thought about how to distribute values to minimize peaks, testing your ability to identify an optimal strategy for array balancing. The full problem description and a model solution are available with a subscription.
Coding QuestionsVisaMaximum Sum Subarray
2/5Finding the most lucrative contiguous segment within a numeric sequence is a foundational algorithmic challenge frequently encountered in technical screenings. As asked in recent developer interviews at Glean, this problem tests your ability to scan a linear collection of integers and efficiently isolate a sublist that yields the absolute highest cumulative sum. You will need to implement an optimized linear-time approach that dynamically evaluates running totals without relying on brute-force nested iterations. Unlock the complete problem guide, complexity analysis, and clean model implementation with our paid subscription.
Coding QuestionsGleanCompress Consecutive Ranges
2/5A coding question on grouping a sequence of numbers into consecutive stretches and formatting each stretch as text. The learner must keep the original order and treat isolated values differently from longer stretches.
Coding QuestionsCiscoChoose the Best Flask
3/5In this Observe.AI coding challenge, you are tasked with optimizing resource allocation for a robotic chemical delivery system. The problem presents a scenario where a single type of glass flask must be selected for an entire day's operations, fulfilling multiple chemical orders. Your goal is to identify the flask design that results in the least overall waste, calculated by the difference between the flask's fill mark and each order's requirement. This tests your ability to analyze data, perform calculations efficiently, and make an optimal selection based on given constraints. The full problem description and a detailed model solution are available with a subscription.
Coding QuestionsObserve.AISliding Window Maximum Sum Subarray of Length K
2/5Asked during Faire interviews, this problem challenges you to find the highest possible sum among contiguous subsegments of a fixed length within a large integer sequence. You are expected to design an optimal linear-time strategy that avoids redundant calculations by dynamically updating window boundaries. It evaluates your grasp of sliding window techniques and array optimization principles. Unlock the full problem details, performance constraints, and verified solution code with a subscription.
Coding QuestionsFaireArrange Flower Sticks
2/5This introductory coding exercise, noted from an HSBC recruitment round, challenges you to reorganize a collection of numbered elements based on a specific dual-sorting criterion. Candidates must write an algorithm that partitions the sequence into two distinct segments, arranging the initial portion in ascending order and the remainder in descending sequence. It is a straightforward test of sorting fundamentals, array manipulation, and index management. Review the complete problem statement, input constraints, and optimized implementation details by securing a paid subscription.
Coding QuestionsHSBCFind Smallest Number Within Exclusive Range in Array
2/5Test your fundamental array processing skills with this interview question reported from Stackline. The objective is to examine a collection of numeric values and isolate the minimum element that satisfies a strictly bounded open interval. This task checks your ability to handle boundary conditions, filter data collections efficiently, and manage edge cases where no elements qualify. View the complete problem details and the verified programming solution by unlocking our full platform with a subscription.
Coding QuestionsStacklineMaximum Distinct Elements After K Swaps
3/5Tackle an intriguing array manipulation challenge reported during Akuna Capital technical screenings, focusing on maximizing unique elements within a collection through limited element exchanges. The puzzle tests your proficiency with greedy strategies and frequency tracking, requiring you to determine the optimal trade-offs between existing duplicates and external candidates. You must carefully evaluate how limited operational budgets can alter collection diversity under strict constraints. Unlock the full problem description and verified algorithmic solution with a subscription.
Coding QuestionsAkuna CapitalMinimum Days to Release Updates
3/5This interview question, reported at Akuna Capital, challenges you to find the most efficient schedule for launching a series of software patches. Given primary and backup scheduling options for each item, you must determine the optimal timeline that minimizes the overall span while satisfying strict chronological constraints. This puzzle evaluates your algorithmic thinking, resource scheduling capabilities, and ability to handle optimization constraints effectively. Access to the comprehensive problem description, edge cases, and complete solution requires a paid subscription.
Coding QuestionsAkuna CapitalConsolidate Overlapping Ranges
3/5A coding question about turning an unordered collection of closed numeric ranges into the smallest set of disjoint ranges covering the same points. It checks handling of touching, nested, duplicate and unsorted ranges while leaving the caller's data unchanged.
Coding QuestionsNetflixCount Set Bits in an Integer Array
2/5Optimize low-level bit manipulation techniques in this systems-oriented coding challenge reported by Akuna Capital. The objective requires writing an efficient function to compute the total count of active binary digits across an array of integers while handling platform-specific constraints and type conversions. This exercise evaluates your understanding of hardware-level bitwise operations and compiler intrinsics. Unlock the full technical specification and performance-optimized reference code by obtaining a subscription.
Coding QuestionsAkuna CapitalFilter Sims by Conditions
3/5Test your ability to build flexible query processing logic in this coding challenge shared from interviews at Commure. The exercise asks you to construct a filtering mechanism that evaluates structured records against a variety of demographic and numerical constraints, including complex comparative rules. It tests your data handling skills and conditional routing proficiency in a clean, object-oriented manner. Gain immediate access to the full problem description and the verified programmatic solution with a platform subscription.
Coding QuestionsCommureCount Subarrays with Equal Even and Odd Counts
3/5A coding question about a list of integers, some negative: the learner returns how many contiguous, non-empty stretches hold as many even values as odd ones. Stretches are told apart by where they start and end, lists can hold up to a hundred thousand values, and the total can exceed what a 32-bit integer stores.
Coding QuestionsMicrosoftElements Appearing More Than One Third in a Sorted Array
3/5Examine a classic frequency-finding puzzle frequently encountered in ByteDance technical interviews, where you must identify elements appearing more than a specified threshold within an ordered sequence. This exercise challenges your ability to optimize beyond standard linear scans by leveraging inherent structural properties to locate qualifying candidates efficiently. You will explore advanced search techniques to achieve logarithmic performance bounds for specific subsets of the input. Access the complete problem description, editorial guidance, and optimal code implementation with a subscription.
Coding QuestionsByteDanceMinimum Swaps for Even / Odd Partition
2/5Tackling array reorganization efficiently is the core of this popular Cisco interview question, where you must arrange elements so that all even values precede odd ones with the fewest operations possible. This exercise tests your ability to analyze array structures, optimize rearrangement strategies, and minimize operational costs while handling large input sizes. You will need to think critically about index manipulation and grouping logic to achieve an optimal runtime. Unlock the full problem statement, algorithmic breakdown, and complete code solution by securing a subscription today.
Coding QuestionsCiscoMax Subsequence Sum Without Skipping Two in a Row
3/5In this technical interview question shared by candidates interviewing at Akuna Capital, you must determine an optimal subset of numeric values to maximize the cumulative sum while adhering to a strict constraint against bypassing consecutive items. This task tests your capability to apply dynamic programming principles, design state transition logic, and handle boundary conditions efficiently within sequential datasets. Solving this puzzle enhances your skill in recognizing overlapping subproblems and formulating optimal substructures. Unlock the full problem breakdown, detailed explanations, and a complete code solution with a paid subscription.
Coding QuestionsAkuna CapitalLong Break (Longest Networking Gap After Rescheduling k Talks)
4/5Reported as a technical interview question at WeRide, this challenge requires candidates to strategically eliminate a limited number of scheduled intervals to maximize the largest remaining gap of idle time. The exercise evaluates your ability to manipulate temporal data structures and efficiently calculate optimal gaps under constraints. Solving this puzzle demands a strong grasp of sorting and greedy strategies to evaluate cumulative durations. Unlock the complete problem description and expert model solution with a paid subscription.
Coding QuestionsWeRideInterval Sign Flips
2/5Reported as a JPMorgan coding challenge, this problem requires you to systematically invert numerical signs across specified subarrays within a larger collection. Candidates must process multiple range operations efficiently, balancing straightforward simulation against optimized approaches like difference arrays for large datasets. This task assesses your understanding of interval manipulation and performance optimization techniques. Unlock the full problem details and expert model solution by obtaining a subscription.
Coding QuestionsJPMorganSlot Machine Simulation
2/5Building a programmatic casino slot machine emulator is an engaging coding exercise reported during interviews at Hopper. This task requires you to translate structural inputs detailing column dimensions and available symbols into a randomized, visually representative output simulation. It tests your basic data structure handling and pseudo-random generation skills in a fun context. Unlock the full implementation details and reference solution with a paid subscription.
Coding QuestionsHopperHorizontal Pod Autoscaler
3/5Tackle this practical resource management challenge reported during engineering interviews at Rubrik. You are tasked with simulating scaling events and updating capacity thresholds across a fleet of distributed micro-services based on an incoming stream of operational logs. This problem evaluates your proficiency in array manipulation, state tracking, and efficiently handling conditional updates over sequential commands. Mastering this scenario helps build robust automation logic for cloud infrastructure. The complete problem statement and model solution require a subscription.
Coding QuestionsRubrikSubarray Maximum Element Length
3/5Featured as a technical interview question from Moloco, this puzzle asks you to determine the maximum span for every position in an integer array where that specific position holds the highest value within its range. It examines your proficiency with monotonic stacks and efficient boundary-finding techniques. The full problem description and model solution require a subscription.
Coding QuestionsMolocoCheck if Permutation Subset Within Range Exists
3/5This intriguing HackerRank interview question evaluates your ability to analyze permutations and verify whether growing prefix sequences form continuous subarray blocks within a given list. It examines your logical reasoning, bounds-checking capabilities, and skill in recognizing structural properties of number sequences. You will learn how to efficiently scan and validate arrangements without resorting to costly nested checks. Gain full access to the complete problem breakdown and expert solution by signing up for a subscription.
Coding QuestionsHackerRankMerge Two Sorted Arrays
2/5Mastering array manipulation techniques is vital for technical interviews, as demonstrated by this common sorting challenge frequently asked at Whatnot. The task evaluates your ability to combine two ordered collections efficiently within restricted memory constraints and without utilizing extra data structures. You will discover optimal in-place pointer manipulation strategies to achieve linear time complexity while maintaining proper sequence order. The full problem breakdown, algorithmic complexity analysis, and clean model solution are available exclusively with a subscription.
Coding QuestionsWhatnotCard Game Gem Affordability and Discount Calculation Functions
3/5This game-logic implementation challenge, featured in Brex interviews, requires you to build core transactional functions for a board game involving resource affordability, inventory updates, and discount computations. You will write robust logic to verify resource limits, modify player holdings safely, and calculate economic benefits based on card properties. The task tests your precision in state management and foundational function design. To view the full problem specification and reference solution, a subscription is required.
Coding QuestionsBrexProduct of Array Except Self (Interview Variant)
3/5Tackle a classic array transformation challenge often featured in technical screening sessions at GEICO, where you must compute cumulative products for every element excluding the current index. The twist is that you are strictly prohibited from using division operations, forcing you to think creatively about prefix and suffix multipliers to achieve linear time performance with minimal extra memory usage. Mastering this puzzle hones your ability to manage state and optimize arithmetic computations in large collections. Unlock the complete analytical breakdown and verified reference solution with a subscription.
Coding QuestionsGEICOCount Strictly Increasing Triplets
3/5Challenge your combinatorial reasoning with this algorithmic problem featured in Pinduoduo interview sessions. Given a sequence of numbers, your objective is to efficiently count how many ordered index triplets satisfy a strictly increasing relational condition while maintaining sub-quadratic time complexity. This puzzle thoroughly tests your ability to optimize nested loops using prefix counts or similar strategic state tracking. Unlock the complete problem guidelines and detailed solution by securing a subscription.
Coding QuestionsPinduoduoMatrix Product Computation
3/5This foundational linear algebra challenge, reported during interviews at GEICO, requires you to compute the product of two multidimensional numeric arrays while respecting specific structural constraints. The exercise evaluates your grasp of matrix dimensions, algorithmic efficiency, and how to handle incompatible shapes gracefully. Implementing this function efficiently involves mastering nested iteration and understanding the time and space trade-offs associated with computational mathematics. To view the complete problem statement and study a robust model solution, a subscription is required.
Coding QuestionsGEICOShortest Distance Between 'X' and 'Y' in String
2/5This frequently reported interview question from Glean challenges candidates to efficiently compute the minimal separation index between two distinct target symbols scattered throughout a text sequence. The assessment evaluates your ability to traverse linear data structures while maintaining optimal tracking of element positions in a single pass. To explore the complete problem statement, optimal algorithmic approaches, and clean code implementations, unlock the full model solution with a subscription.
Coding QuestionsGleanBest Time to Buy and Sell Stock with Cooldown
3/5Tackling financial market simulations is the focus of this algorithmic trading puzzle previously encountered in GEICO interviews. Given a chronological timeline of asset valuations, your mission is to calculate the highest achievable revenue under the restriction that selling a holding forces a mandatory waiting period before purchasing again. This dynamic programming challenge evaluates your capability to track multi-state transitions over time. The full problem description and verified programming solution require an active subscription.
Coding QuestionsGEICOImplement the 2048 Game (Board Move/Merge and Game Over Detection)
3/5Mastering grid-based puzzle mechanics is essential for this popular Glean interview challenge, which asks you to simulate the core rules of a sliding tile game. Candidates must programmatically handle directional shifts, combine identical adjacent values according to specific merging logic, and determine when no valid moves remain to trigger a game over state. This exercise evaluates your ability to manage matrix transformations and edge cases efficiently. Accessing the complete problem description, architectural breakdown, and optimal model solution requires a subscription.
Coding QuestionsGleanCopy an Image Matrix
2/5This Luma AI interview question asks you to implement a memory-safe deep copy operation for a two-dimensional grid representing a grayscale digital image. You will parse raw dimensions and pixel values from standard input, construct an independent replica of the matrix, and output the duplicated grid without relying on external utility libraries. This task examines your foundational grasp of multi-dimensional array manipulation and memory allocation in programming. Unlock the complete problem details and optimal model solution with a subscription.
Coding QuestionsLuma AISkyscraper Heights Adjustment
2/5Reported as part of a DRW interview, this algorithmic challenge asks developers to determine optimal positive height limits for a row of skyscrapers based on upper-bound constraints. The core objective is to maximize the aggregate height while satisfying specific relational conditions across adjacent structures. Success relies on mathematical reasoning and efficient array manipulation strategies. The full problem statement, test scenarios, and optimized solution are exclusively available to subscribers.
Coding QuestionsDRWTask Query by Time and Name Filter with Sorting
3/5Featured in Circle coding interviews, this challenge requires you to filter and order a collection of active records based on temporal constraints and text matching criteria. You must design an efficient filtering routine that evaluates items valid at a specific timestamp and sorts the output according to strict rules. This exercise tests your proficiency in data manipulation and sorting algorithms. Discover the full problem details and complete model code by purchasing a subscription.
Coding QuestionsCircleArithmetic subarrays of length at least 2
2/5A coding question on splitting an integer array into as many separate, non-overlapping stretches as possible, where each stretch has at least two elements and steps down by exactly one each time. The task is to return that maximum count.
Coding QuestionsIBM
Studied alongside
Array interview FAQ
- How many Array interview questions are there?
- 500 reported questions, mostly Coding Questions.
- Which companies ask Array questions?
- Amazon (80), Meta (26), Google (26), Snowflake (16), Capital One (15), Goldman Sachs (15), Uber (15), Apple (15).
- How hard are Array questions?
- They average 2.6 out of 5: 14 at 1/5, 176 at 2/5, 284 at 3/5, 25 at 4/5, 1 at 5/5.