dynamic-programming Interview Questions
112 interview questions in our bank cover dynamic-programming, most of them Coding & Leetcode-style Questions. They average 3.3/5 difficulty — medium — and each one was reported by a candidate after a real interview. Companies known to ask about dynamic-programming: Amazon, Google, Rubrik, Meta, Snowflake, and 15 more.
Practice these on the problems board →Companies that ask about dynamic-programming
Question mix
- Coding & Leetcode-style Questions112
Difficulty
- 2/5 — easy7
- 3/5 — medium67
- 4/5 — hard38
Questions tagged dynamic-programming
Common Restaurant Pickup Order (LCS Reconstruction)
3/5Featured in recent DoorDash technical interviews, this problem explores sequence alignment by asking candidates to reconstruct the longest shared ordered elements between two distinct lists of items. Unlike traditional length-finding tasks, this challenge demands a careful traceback strategy to retrieve the actual sequence while respecting strict relative ordering constraints. It tests deep comprehension of dynamic programming matrices and index manipulation. The comprehensive problem statement, step-by-step methodology, and production-ready code solution are available exclusively with a subscription.
Coding & Leetcode-style QuestionsDoorDashPlan 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 & Leetcode-style QuestionsMetaMinimum Coins to Pay With Change
3/5Tackle this Snowflake interview challenge where you must determine the absolute minimum quantity of currency units exchanged when paying a specific total using standard denominations while factoring in potential change returned. This problem exercises your grasp of greedy strategies, mathematical optimization, and state space exploration for monetary calculations. It challenges you to think beyond standard partitioning problems by incorporating reverse transactions. To view the complete architectural explanation and expert solution, a subscription is required.
Coding & Leetcode-style QuestionsSnowflakeMaximum Sum Path in a 2D Array
3/5In this Glean interview question, candidates must navigate a two-dimensional grid from the starting corner to the finish while maximizing the accumulated numerical value along the route. Restricted to specific directional movements, developers must apply dynamic programming principles to discover the optimal path. This challenge examines matrix traversal strategies and memoization techniques. Access the complete problem statement and a verified code solution with a subscription.
Coding & Leetcode-style QuestionsGleanJump 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 & Leetcode-style QuestionsVisaCount Good Strings
3/5This Commvault interview question involves combinatorial counting and sequence validation under strict structural constraints. You must determine the total number of valid configurations of two distinct characters where prefixes maintain a specific balance condition, mirroring properties of well-formed parentheses or Dyck paths. The challenge evaluates advanced dynamic programming, combinatorics, and modular arithmetic skills. The complete problem details, mathematical derivation, and optimized code solution require a subscription.
Coding & Leetcode-style QuestionsCommvaultLongest Path in a DAG
4/5Master a fundamental graph theory problem frequently featured in Amazon coding interviews, requiring you to determine the longest traversal route within a directed acyclic graph. This challenge tests your mastery of topological sorting, dynamic programming, and efficient pathfinding across dependency networks. The complete problem statement, underlying algorithmic theory, and fully documented model solution require an active subscription.
Coding & Leetcode-style QuestionsAmazonMinimize Sum of Prefix Ranges by Reordering
4/5This advanced algorithmic puzzle from Amazon challenges candidates to find the optimal arrangement of elements to minimize cumulative prefix variations. The core objective is to strategically order a collection of items to control the growth of differences between maximum and minimum values across prefixes. It tests advanced sorting heuristics and optimization strategies. The comprehensive problem description and verified solution require a subscription to access.
Coding & Leetcode-style QuestionsAmazonMaximum Weighted Path Sum in a DAG
3/5Optimizing pathways through directed acyclic graphs is a classic challenge often highlighted in rigorous engineering interviews at companies like Amazon. This task requires you to compute the maximum cumulative weight across all valid directed trajectories within a weighted network. You will need to combine topological sorting principles with dynamic programming to evaluate dependencies efficiently. Unlock the full problem context and an optimal step-by-step solution by subscribing today.
Coding & Leetcode-style QuestionsAmazonUnique Paths in a Grid
2/5Explore this classic grid traversal puzzle frequently featured in technical interviews at Amazon, where you must determine the total number of unique routes across a matrix from the top-left corner to the bottom-right destination. Movement is strictly restricted to rightward and downward steps, turning the challenge into an exercise in combinatorics or dynamic programming optimization. You will evaluate how to compute these configurations efficiently without redundantly recalculating sub-paths. Unlock the full problem breakdown, optimal algorithmic approaches, and clean reference code with a subscription.
Coding & Leetcode-style QuestionsAmazonMinimum Insertions to Make a Subsequence
3/5This popular coding challenge frequently appears in Amazon technical screenings and evaluates your ability to manipulate sequences efficiently. You will explore how to calculate the fewest additions necessary so that a specific target collection becomes contained within another collection as an ordered sequence. This exercise tests your grasp of dynamic programming paradigms and sequential matching strategies. To master the optimal approach, including time complexity analysis and full code implementations, access the complete problem walkthrough through our premium subscription.
Coding & Leetcode-style QuestionsAmazonMaximum Sum Subarray with Constraints
3/5Master a classic algorithmic pattern frequently asked in Google interviews by finding the contiguous subarray within a numeric sequence that yields the highest cumulative sum. This problem tests your comprehension of dynamic programming and greedy strategies to process elements in linear time. You will learn how to maintain running totals and efficiently discard suboptimal paths. Unlock the full problem text and complete model solution with a subscription.
Coding & Leetcode-style QuestionsGoogleInstall Carbon Filters
3/5This coding challenge, frequently reported during interviews at Deloitte, requires you to complete a sequence of home purification devices while avoiding excessive clustering of identical equipment. You will need to determine a valid placement arrangement for two distinct device categories across a row of buildings containing pre-existing units and empty slots. This exercise evaluates your combinatorial reasoning, pattern matching, and constraint satisfaction abilities. Access to the complete problem description and expert-crafted model solution requires an active subscription.
Coding & Leetcode-style QuestionsDeloitteTree Points
4/5Navigating hierarchical structures while optimizing numerical outcomes is a frequent theme in advanced algorithm screenings, such as this reported D. E. Shaw interview question. Participants must evaluate a network of connected nodes, each possessing specific weights, and decide between distinct point-collection strategies that may propagate effects to neighboring vertices. The challenge evaluates your depth in tree-based dynamic programming and recursive state evaluation. The complete problem statement and verified model solution are available to subscribers.
Coding & Leetcode-style QuestionsD. E. ShawMinimum XOR Sum of Two Arrays
4/5Optimizing bitwise operations across paired elements is a sophisticated puzzle reported in MongoDB technical interviews. Given two arrays of equal length, the objective is to find a permutation of the second collection that minimizes the cumulative bitwise XOR sum when paired with the first. This challenge tests your grasp of bit manipulation techniques, combinatorial searching, and dynamic programming with bitmasking. Unlock the full problem statement and optimized model solution with a subscription.
Coding & Leetcode-style QuestionsMongoDBBitonic Partitioning
4/5This challenging Rubrik interview question explores advanced array segmentation, requiring engineers to count valid contiguous partitions that follow a specific rise-and-fall pattern of subgroup averages. The core difficulty lies in efficiently evaluating numerous combination possibilities while adhering to strict structural constraints on the resulting sequence of statistical means. Crafting an optimal solution demands clever pre-computation and dynamic programming techniques to manage sub-array calculations swiftly. Unlock the complete problem statement, mathematical breakdown, and fully coded model solution with a paid subscription.
Coding & Leetcode-style QuestionsRubrikGenerate Matrix B (2D Prefix Sum)
2/5This matrix transformation puzzle, commonly asked by Arista Networks, challenges developers to compute a two-dimensional prefix sum grid from a given input array. Each cell in the resulting structure must contain the cumulative sum of all preceding elements within the top-left rectangular region. Solving this efficiently demands a strong grasp of dynamic programming and matrix manipulation techniques to optimize computational overhead. Explore the full problem specifications and optimal solution by subscribing.
Coding & Leetcode-style QuestionsArista NetworksLongest Increasing Subarray with One Modification
3/5Examine a sophisticated sequence manipulation challenge often encountered in engineering assessments at Google. The objective is to determine the longest uninterrupted ascending portion of a list of numbers after permitting a single element alteration. This problem evaluates your analytical capacity to handle boundary conditions, track state changes efficiently, and optimize time complexity. Access the complete problem description and thorough algorithmic walkthrough by purchasing a subscription.
Coding & Leetcode-style QuestionsGoogleOptimal Crop Selection for Maximum Profit
3/5This reported interview question from Block challenges candidates to solve a resource allocation puzzle involving agricultural investments. Given various produce options with distinct acquisition expenses, revenue yields, and growth durations, along with financial and temporal constraints, you must figure out the optimal strategy to maximize financial returns. This exercise tests your ability to design robust algorithms for knapsack-style optimization under tight limits. Access to the complete problem breakdown and verified solution requires a subscription.
Coding & Leetcode-style QuestionsBlockMax 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 & Leetcode-style QuestionsAmazonCount Square Submatrices with All Ones
3/5As a classic algorithmic puzzle often asked by Google, this task asks you to quantify all possible square subgrids entirely filled with ones within a binary matrix. You will need to account for overlapping regions of varying dimensions efficiently without resorting to brute-force enumeration. The challenge provides excellent practice for dynamic programming and matrix manipulation techniques. Unlock the comprehensive walkthrough and verified code implementation with a subscription.
Coding & Leetcode-style QuestionsGoogleMax Value of Valid Expression on a Grid Path
4/5This advanced algorithmic challenge, featured in technical assessments at Capital One, tests grid traversal and dynamic programming strategies. Candidates must navigate a two-dimensional matrix containing digits and operators, moving exclusively downward or rightward to construct valid arithmetic expressions along monotonic paths. The difficulty lies in filtering out malformed mathematical sequences while simultaneously maximizing the evaluated numerical outcome of valid paths. To unlock the complete problem description, complexity analysis, and verified model solution, subscribe to our service today.
Coding & Leetcode-style QuestionsCapital OneWord Compression
3/5This reported interview question from Rubrik challenges candidates to find the overlap between two text sequences while accounting for both contiguous matching and broader sequential relationships. It tests your ability to manipulate strings efficiently and handle edge cases where one text sequence entirely encompasses another in a specific structural way. Developing an optimal algorithm requires careful comparison logic to handle various sequence lengths. Access to the full problem description and model solution requires a subscription.
Coding & Leetcode-style QuestionsRubrikLongest Vowel Subsequence in Order
3/5Sourced from a UiPath technical interview, this string-processing challenge asks you to find the longest valid subsequence containing all five lowercase vowels in strict alphabetical order. You must iterate through the given text while ensuring that no vowel appears out of sequence, maintaining the required progression from the first vowel to the last. This problem evaluates your dynamic programming acumen, state tracking abilities, and string parsing efficiency. The complete problem statement, edge cases, and model solution are available exclusively with a paid subscription.
Coding & Leetcode-style QuestionsUiPathMaximum 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 & Leetcode-style QuestionsGleanMinimum Path Sum
3/5Optimizing traversal routes across a matrix is a classic dynamic programming challenge often featured in coding evaluations for software engineering roles at Datadog. This problem tests your ability to compute the most cost-effective journey through a grid of numerical values while adhering to strict movement restrictions. You will need to apply efficient state-transition strategies to systematically determine the optimal accumulated weight from start to finish. Unlock the complete problem statement and verified model solution with a subscription.
Coding & Leetcode-style QuestionsDatadogCount Distinct Movement Subsequences on a Number Line
4/5This advanced algorithmic problem, frequently encountered in Visa technical screenings, explores counting valid directional sequences on a bounded integer track. Candidates must compute how many unique movement combinations successfully navigate from an origin to a destination without crossing boundary limits. The task thoroughly evaluates combinatorial logic, string processing, and dynamic programming or backtracking optimization. Unlocking the complete problem specification and its rigorous model solution requires an active subscription.
Coding & Leetcode-style QuestionsVisaTwo-ball Drop Problem
3/5This classic interview puzzle, featured by Talroo, challenges you to find the most efficient strategy for testing durability limits using a limited number of identical testing objects. The scenario evaluates your logical reasoning, worst-case optimization mindset, and mathematical problem-solving skills rather than heavy programming. To view the complete analytical breakdown and the mathematically sound model solution, a paid subscription is required.
Coding & Leetcode-style QuestionsTalrooMax First-Half Minus Second-Half After Removal
4/5This advanced coding challenge, reported from Amazon technical screens, tests your proficiency in array manipulation and optimization techniques. Candidates are tasked with selectively eliminating a specific fraction of elements from a weighted collection to maximize the arithmetic difference between the resulting segments. Solving this problem demands careful strategic planning and efficient boundary management to handle large datasets effectively. Access the full problem details and a comprehensive model solution by upgrading to a paid subscription.
Coding & Leetcode-style QuestionsAmazonPalindromic 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 & Leetcode-style QuestionsPayPayLongest String Without AAA or BBB
3/5This Zalando interview question tasks you with constructing the longest possible text sequence using specific building blocks while strictly avoiding consecutive repetition limits. You must strategically interleave available segments to maximize length without triggering forbidden substring conditions. The challenge evaluates your greedy algorithm design and state management capabilities under tight constraints. Unlock the comprehensive walkthrough and optimal code solution with a subscription.
Coding & Leetcode-style QuestionsZalandoFind 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 & Leetcode-style QuestionsServiceNowMax Revenue With No k Consecutive Same Operations
4/5Take on this sophisticated dynamic programming challenge reported from coding evaluations at Amazon, where you must maximize cumulative financial returns from a prioritized sequence of tasks. While preserving the original relative order, you are permitted to omit certain operations, subject to a strict upper bound on how many consecutive identical task types can be executed in a row. The exercise tests your ability to balance sequential constraints with profit maximization strategies. Access the complete problem statement and optimized code walkthrough with a subscription.
Coding & Leetcode-style QuestionsAmazonLargest Square of 1's
3/5In this coding challenge reported during FactSet interviews, you are tasked with examining a grid containing binary values to locate and measure the largest contiguous submatrix made entirely of specific target elements. This problem tests your spatial reasoning and dynamic programming abilities on two-dimensional arrays. To view the complete problem instructions and the optimal source code implementation, a subscription is required.
Coding & Leetcode-style QuestionsFactSetOut of Boundary Paths
4/5This algorithmic problem, featured in Apple technical interviews, requires you to calculate all possible movement sequences that allow a particle to escape a bounded grid within a restricted number of steps. It evaluates your mastery of combinatorics, matrix navigation, and memoization techniques to handle large output values efficiently. The full problem details, test cases, and clean solution code require a subscription.
Coding & Leetcode-style QuestionsAppleBattle with Upper Moon 6
4/5Confront an intricate grid simulation puzzle featured in coding assessments at Rubrik, where you manage the cascading revival states of defeated entities across a matrix. Each cell updates based on precise chronological rules and hierarchical dependencies, requiring sophisticated tracking of dependent subtrees and state transitions over multiple turns. This rigorous challenge evaluates your advanced graph traversal strategies, multidimensional array manipulation, and algorithmic efficiency under complex business rules. The full problem and model solution require a subscription.
Coding & Leetcode-style QuestionsRubrikAI Coding: Card Game — Three Cards Summing to 15
3/5Tackle this Meta interview puzzle involving a card-matching game where you must systematically discover combinations that add up to a target sum. You will progress through multiple implementation tiers, ranging from debugging initial draw mechanics to engineering efficient scoring algorithms and optimizing iterative subset selections under strict constraints. This exercise evaluates your proficiency with debugging asynchronous workflows, combinatorial logic, and clean code refactoring. Access to the full problem description, test harnesses, and model solution requires a subscription.
Coding & Leetcode-style QuestionsMetaFuture Stock Prices Maximum Profit
4/5Explore this challenging algorithmic puzzle reported from Hudson River Trading interviews, centered around maximizing investment growth given a series of future market valuations. The problem tests your strategic financial calculation skills by allowing fractional share trading and flexible cash holding without short selling or transaction fees. It evaluates how effectively you can model financial decisions and optimize capital returns over a timeline of fluctuating prices. Subscribe today to access the full problem details and the complete expert solution.
Coding & Leetcode-style QuestionsHudson River TradingBinomial Tree Risk Neutral Pricing
3/5Master quantitative finance fundamentals by exploring how to value derivatives using discrete asset price movements. This exercise, frequently featured in technical assessments at SMBC, requires building a recombining lattice framework to simulate future market paths under risk-neutral probabilities for both European and American style contracts. Candidates are tested on their ability to translate financial mathematics into efficient algorithms while handling discounting and boundary conditions correctly. Access to the comprehensive problem description, edge cases, and complete model implementation requires a paid subscription.
Coding & Leetcode-style QuestionsSMBCLongest Consistent Feature Subsequence
3/5Evaluating relational consistency between parallel datasets is an advanced algorithmic challenge frequently featured in technical evaluations, like this reported Amazon interview question. The goal is to find the largest index subset where relative element orderings and exact ties mirror each other across two distinct sequences. This problem tests your comprehension of sorting properties, coordinate compression, and efficient subsequence identification techniques. Mastering this concept enhances your ability to handle complex mapping and correlation queries in large datasets. Access to the full problem text and complete model solution requires a subscription.
Coding & Leetcode-style QuestionsAmazonCheapest Flights Within K Stops
3/5Featured in Snowflake technical interviews, this graph traversal challenge asks you to find the most cost-effective travel route between two locations while strictly capping the number of intermediate connections. It tests your proficiency with weighted pathfinding algorithms, dynamic programming, and managing state constraints within network topologies. Access the comprehensive breakdown, time complexity analysis, and fully working reference solution by subscribing today.
Coding & Leetcode-style QuestionsSnowflakePaint Fence
3/5Tackle a combinatorial coloring puzzle frequently reported in technical screenings at Ripple, where you must determine the total number of valid permutations for decorating a sequence of items using a limited palette. The core objective is to avoid forbidden consecutive matches while satisfying strict boundary conditions. This problem evaluates your grasp of dynamic programming and recurrence relations to efficiently compute large combinatorial spaces. Unlock the complete breakdown and expert solution by subscribing today.
Coding & Leetcode-style QuestionsRippleWord Break in Strings
3/5In this Compass interview challenge, you must determine whether a given text sequence can be fully segmented into a sequence of valid vocabulary terms supplied in a reference list, where terms are permitted to be used multiple times. This problem tests dynamic programming and string manipulation skills. The full problem and model solution require a subscription.
Coding & Leetcode-style QuestionsCompassHouse Robber Problem: Max Non-Adjacent Sum
3/5This NIO interview question presents a classic dynamic programming puzzle where you must maximize your total gain from a sequence of values under the constraint that adjacent elements cannot be chosen simultaneously. You will need to devise an optimal strategy to evaluate mutually exclusive choices across the dataset. The problem examines your understanding of state recurrence relations and memoization techniques. Unlock the complete problem statement and the optimal code solution with a subscription.
Coding & Leetcode-style QuestionsNIOMax GPUs with At Most K Switches Between Clusters
3/5In this Mistral AI coding challenge, candidates must compute the optimal resource allocation across multiple resource pools over a defined temporal window while strictly limiting transition frequencies. This problem tests dynamic programming and state transition optimization under restrictive bounds. You will design an algorithm that balances cumulative yield against mobility penalties. Unlock the complete problem statement and verified solution by getting a subscription.
Coding & Leetcode-style QuestionsMistral AIMaximize Weighted Inversion Errors With Wildcards
4/5This advanced algorithmic challenge reported at Amazon evaluates your capability to optimize sequence arrangements containing ambiguous characters. The objective involves strategically resolving wildcard elements to maximize a computed score based on specific inversions within the final binary arrangement. This tests your mastery of dynamic programming, greedy strategies, and efficient combinatorial counting under constraints. Discover the complete problem breakdown and efficient model solution by upgrading to a paid subscription.
Coding & Leetcode-style QuestionsAmazonCount Unique Paths in a Grid
3/5Determine all possible movement routes across a matrix from the top-left corner to the bottom-right destination in this classic Okta interview task. The challenge tests your dynamic programming and combinatorics knowledge by restricting movement to specific directions only. You must construct an efficient approach that scales well with grid dimensions while avoiding redundant computations. Access to the complete problem description, constraints, and optimized model solution requires a subscription.
Coding & Leetcode-style QuestionsOktaCount Perfect Stamp Packagings
3/5This intriguing Amazon interview problem challenges candidates to count how many valid label sequences can be formed by matching numerical values with specific relational constraints between adjacent items. The task tests your ability to handle combinatorics and modular arithmetic efficiently under strict conditional rules. Discovering the optimal counting strategy requires careful dynamic programming or recurrence relation analysis. To explore the complete problem description and review the fully written model solution, a paid subscription is required.
Coding & Leetcode-style QuestionsAmazonArray 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 & Leetcode-style QuestionsD. E. ShawTwo Knapsack Problem
3/5In this Tradeweb interview question, you will tackle an extension of the classic knapsack optimization problem involving two capacity-constrained containers. Your goal is to select and distribute a given set of weighted and valued items to maximize the combined value packed into both knapsacks without exceeding their limits. This exercise tests your dynamic programming skills and mastery of multi-resource optimization problems. Get full access to the complete problem definition and verified solution by subscribing.
Coding & Leetcode-style QuestionsTradewebLongest Common Subsequence
3/5This classic dynamic programming problem, featured in technical loops at Roku, requires you to find the longest sequence of characters that appear in the same relative order within two separate strings. The challenge tests your ability to break down a sequence-matching problem into overlapping subproblems and construct an optimal substructure matrix or state transition. Mastering this concept is crucial for understanding string similarity metrics and advanced algorithmic optimization techniques. To examine the full problem specification and review a well-commented model solution, a subscription is required.
Coding & Leetcode-style QuestionsRokuDNA Similarity via Longest Common Subsequence
3/5This Amazon interview question challenges you to measure the genetic similarity between two biological strings by determining their longest common subsequence. The task requires a dynamic programming approach to efficiently compare sequence alignments and compute the optimal overlap length. Practicing this problem helps strengthen your grasp of classical sequence matching algorithms frequently encountered in technical screenings. Unlock the full problem description, complexity analysis, and working solution with a subscription.
Coding & Leetcode-style QuestionsAmazonTotal Completion Time With Dependencies
3/5Featured in Amazon coding assessments, this problem challenges you to calculate the minimum duration required to complete a set of interdependent tasks assuming unlimited concurrent execution capacity. It evaluates your mastery of directed acyclic graphs, topological sorting, and critical path analysis in parallel processing environments. Unlock the comprehensive walkthrough, complexity analysis, and complete model solution with a paid subscription.
Coding & Leetcode-style QuestionsAmazonMinimum Deletions to Empty a String
4/5This interview challenge reported at Amazon evaluates your ability to process sequential string data efficiently by finding the fewest steps needed to clear out matching consecutive characters. Candidates must design an optimized algorithm that handles substring reductions and tests advanced string manipulation skills under tight performance constraints. Access to the complete problem breakdown and expert model solution requires a subscription.
Coding & Leetcode-style QuestionsAmazonTwo-Core Process Assignment
3/5In this engaging coding exercise reported during Agoda interviews, you must divide a collection of workload durations between two processing units so that the highest combined load is kept as small as possible. This problem examines your grasp of dynamic programming and balancing subsets. The complete problem statement and verified solution are available to subscribers.
Coding & Leetcode-style QuestionsAgodaLongest Valid Parentheses Span
4/5Master sequence manipulation and index tracking with this intriguing interview challenge frequently featured by Amazon. Candidates are tasked with evaluating sequences of bracket characters to locate the most expansive valid section and calculating its span based on boundary positions. This exercise evaluates your ability to optimize linear scans and maintain state efficiently using stacks or dynamic programming techniques. To access the complete problem statement, optimal algorithms, and thoroughly explained model code, unlock the full guide with a subscription.
Coding & Leetcode-style QuestionsAmazonMaximum Sum Choosing X Elements With Row Caps
3/5This algorithm challenge, frequently reported in technical screenings at Amazon, requires candidates to find the optimal combination of items from a two-dimensional grid under strict row-wise selection limits. The task evaluates your ability to leverage advanced strategies like priority queues or dynamic programming to maximize cumulative values efficiently while handling feasibility constraints. Access to the comprehensive breakdown and verified optimal solution requires an active subscription.
Coding & Leetcode-style QuestionsAmazonMinimize 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 & Leetcode-style QuestionsWeRideMaximize Sum of Processed Times
4/5This advanced scheduling puzzle involves distributing a sequence of tasks across dual computing units governed by a dynamic priority mechanism, highlighted in Agoda interviews. You must determine the optimal assignment strategy to maximize overall throughput or processing metrics while tracking state transitions between processors. The challenge evaluates your dynamic programming or greedy algorithm design capabilities under complex operational rules. View the full problem description and reference solution by obtaining a subscription.
Coding & Leetcode-style QuestionsAgodaCount Shortest Paths in a Binary Grid
4/5This Meta interview problem challenges you to navigate a matrix containing open paths and barriers to find all minimal distance routes between two corners. It tests your mastery of graph traversal algorithms, dynamic programming, and combinatorial counting techniques under modular arithmetic constraints. You must carefully handle unreachable destinations and overlapping potential routes. To explore the full problem statement and study the optimal algorithmic solution, a paid subscription is required.
Coding & Leetcode-style QuestionsMetaMaximum Sum of Balanced Subsequence
4/5This ServiceNow reported interview question challenges you to find a valid subsequence within an array of numbers that maximizes the total sum while obeying specific growth constraints between adjacent elements. You will need to apply advanced dynamic programming or efficient data structures to maintain optimal subsequence states in polynomial time. The challenge tests your ability to transform conditional constraints into optimized mathematical relations. Access to the complete problem breakdown and expert model solution requires an active subscription.
Coding & Leetcode-style QuestionsServiceNowBest 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 & Leetcode-style QuestionsZooxMinimum Sum of Weekly Peaks
3/5Faced during technical rounds at Amazon, this algorithmic puzzle requires you to divide a sequential dataset into a fixed number of consecutive segments while minimizing the aggregate of their peak values. It tests advanced optimization techniques such as dynamic programming or binary search combined with greedy validation to efficiently manage resource allocation constraints. Mastering this challenge sharpens your ability to reason about optimal substructures. Unlock the complete analytical breakdown, step-by-step guidance, and fully working code solution with a subscription.
Coding & Leetcode-style QuestionsAmazonMaximum Path Sum in a Grid
3/5Reported as a common Meta interview challenge, this matrix navigation task requires finding an optimal trajectory from the upper-left corner of a numeric grid to the bottom-right destination. Because movement is restricted to specific directions and cells may contain negative integers, candidates must carefully compute cumulative weights to maximize the final tally. This exercise evaluates proficiency in dynamic programming and grid-based traversal strategies. Unlock the comprehensive problem statement, thorough algorithmic analysis, and clean production-ready code with our subscription.
Coding & Leetcode-style QuestionsMetaBinary Tree Maximum Path Sum (Tree Kadane)
4/5Featured frequently in Adobe technical rounds, this tree-based challenge requires finding the maximum possible sum along any continuous path within a binary tree where nodes can hold negative integers. Unlike traditional root-to-leaf traversals, the path can start and end at arbitrary nodes, demanding a dynamic programming approach akin to Kadane's algorithm adapted for hierarchical structures. This problem thoroughly tests your recursion, tree manipulation, and optimal substructure identification skills. Get full access to the problem description and expert solution with a subscription.
Coding & Leetcode-style QuestionsAdobeMinimum Path Sum in a Grid
2/5This classic coding challenge, frequently featured in interviews at Amazon, requires finding the optimal traversal path through a numeric grid from the top corner to the bottom corner. Restricted to moving only right and downward, candidates must compute a route that minimizes the cumulative sum of visited cells. The exercise evaluates foundational dynamic programming and matrix traversal skills. Unlock the complete problem description, complexity analysis, and verified model solution with a paid subscription.
Coding & Leetcode-style QuestionsAmazonSave the Universe
4/5This advanced tree-partitioning challenge, featured in Rubrik technical interviews, evaluates your ability to decompose hierarchical structures into linear segments under strict size and weight constraints. Candidates must carefully analyze nodes and paths to optimize grouping efficiently while adhering to cumulative thresholds. Tackling this problem requires sophisticated dynamic programming or greedy strategies combined with tree traversal techniques. Discovering the complete problem statement and reviewing the expert model solution require a subscription.
Coding & Leetcode-style QuestionsRubrikBest 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 & Leetcode-style QuestionsGEICOMinimum Weighted Errors From Wildcards
3/5Discover how to optimize string configurations containing ambiguous wildcard characters to minimize specific pattern penalties, a sophisticated algorithmic challenge reported during software engineering interviews at Amazon. This puzzle tests your mastery of dynamic programming and combinatorial optimization under specific cost constraints. You will learn to evaluate state transitions and modular arithmetic to achieve the lowest possible penalty score. Gain immediate access to the full problem description and expert model solution with a subscription.
Coding & Leetcode-style QuestionsAmazonMax Coins with Tokens Moving Along a Line
3/5Tackle this engaging pathfinding puzzle frequently reported in technical interviews at Google, where a moving agent collects valuable items along a constrained corridor. The challenge evaluates your understanding of linear traversal, boundary limitations, and obstruction handling to maximize resource acquisition before getting blocked. The complete problem description, detailed test cases, and reference solution require a subscription.
Coding & Leetcode-style QuestionsGoogleMinimum Cost to Reach Target Server Power
4/5This optimization problem, featured in Amazon technical interviews, requires candidates to select an optimal subset of computational resources to meet a specific capacity threshold while minimizing associated costs. Given variable power outputs and weighted pricing tiers for each machine, developers must find the most economical combination or determine if the target is unreachable. The challenge assesses dynamic programming and greedy decision-making skills. Unlock the complete problem statement and verified solution with a subscription.
Coding & Leetcode-style QuestionsAmazonMeeting Room
3/5This scheduling optimization puzzle, reported from WeWork interviews, requires candidates to maximize attendance across multiple competing groups vying for a single meeting room. Given group sizes and reservation time windows, the objective is to select a non-overlapping subset of meetings that minimizes the total number of excluded participants. The assessment tests interval scheduling algorithms and combinatorial optimization. Unlock the comprehensive problem description and model solution by subscribing.
Coding & Leetcode-style QuestionsWeWorkCoin 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 & Leetcode-style QuestionsGEICOIncreasing Paths in a Grid II (Large Counts)
4/5In this Hudson River Trading coding challenge, you must compute the sheer volume of strictly rising trajectories across a matrix, where totals can scale into the tens of billions. This task tests your mastery of dynamic programming combined with large integer arithmetic to handle massive combinatorial explosion. Access to the full problem breakdown and an optimal model solution requires a subscription.
Coding & Leetcode-style QuestionsHudson River TradingMaximum Load Within Capacity
3/5This Amazon interview challenge requires you to determine the optimal subset of item weights that can be accommodated within a fixed transport limit without exceeding its threshold. It evaluates your grasp of classic subset-sum and knapsack optimization principles to maximize utilization. Unlocking the complete problem guidelines, test suites, and the most efficient algorithmic solution requires a paid subscription.
Coding & Leetcode-style QuestionsAmazonCount Subsequences Greater Than a String
4/5String manipulation and combinatorial counting form the core of this challenging problem, which has been featured in technical assessments at Amazon. The task requires developers to analyze textual data and efficiently compute how many unique subsequences surpass a given reference string in alphabetical order, keeping track of modulo arithmetic for large outputs. This scenario tests advanced dynamic programming and lexicographical comparison skills. Unlock the full problem description and comprehensive model implementation by subscribing today.
Coding & Leetcode-style 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 & Leetcode-style QuestionsAmazonLexicographically Smallest String With Minimum Replacements
4/5This ServiceNow interview puzzle challenges you to transform a given sequence of characters into a non-decreasing order while performing the fewest possible substitutions, selecting the lexicographically smallest result among ties. It tests your advanced string manipulation abilities, greedy decision-making, and dynamic programming insight to handle complex transformation constraints efficiently. Crafting an optimal strategy requires balancing multiple conditions to achieve the lowest possible lexicographical profile. To view the complete problem details and the expert model solution, a subscription is required.
Coding & Leetcode-style QuestionsServiceNowSmallest Number Greater Than K
3/5This Accenture interview challenge requires you to form the smallest possible numerical value greater than a given threshold by deleting digits from a source string while strictly preserving their relative order. You must intelligently decide which digits to drop or retain to satisfy both the ordering constraint and the strict inequality comparison against the target value. The exercise tests your string manipulation skills and greedy decision-making abilities under numeric constraints. Get complete access to the full problem text and a verified model solution with a subscription.
Coding & Leetcode-style QuestionsAccentureMinimum Energy to Collect Bags From Both Ends
4/5In this engaging algorithmic puzzle frequently encountered during Amazon technical rounds, candidates must determine the most cost-effective strategy for gathering items sequentially from opposing ends of a collection. Each choice incurs varying expenses based on directional weight multipliers and directional continuity penalties. Devising an optimal strategy demands dynamic programming or advanced greedy approaches to compute the minimal total expenditure accurately. Sharpen your algorithmic thinking and master complex state-transition strategies by reviewing the complete breakdown. Unlock full access to view the comprehensive problem description and optimal solution code.
Coding & Leetcode-style QuestionsAmazonAdd and Search Word With Wildcards
4/5In this coding task reported during an Amazon interview, you are asked to implement a versatile text search structure supporting custom wildcard matching. The core challenge tests your algorithmic efficiency in handling arbitrary character placeholders alongside sequential search queries within a robust dictionary framework. Mastering this structure requires advanced tree or traversal techniques. Unlock the comprehensive problem description and optimal solution code with a membership subscription.
Coding & Leetcode-style QuestionsAmazonPascal'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 & Leetcode-style QuestionsEricssonMinimum Path Sum in Triangle
3/5Explore a classic dynamic programming challenge reported at Agoda focused on finding the most cost-effective downward trajectory through a pyramid of numerical values. Participants must compute optimal accumulated sums by evaluating adjacent transitions layer by layer from apex to base. This problem is excellent for strengthening foundational skills in recursive state transitions and tabulation techniques. Viewing the complete problem text and reference solution requires an active subscription.
Coding & Leetcode-style QuestionsAgodaMinimum Cost to Buy Books From Both Ends
4/5This Amazon interview scenario asks you to find the cheapest way to acquire items arranged sequentially when you can purchase items individually from either end or in discounted pairs up to a limited number of times. The challenge tests your grasp of dynamic programming and state transition optimization. Get the full problem text and complete model solution with a subscription.
Coding & Leetcode-style QuestionsAmazonMinimum Inefficiency After Filling Wildcards
3/5In this Amazon assessment task, engineers are challenged to optimize string configurations containing placeholder characters to achieve maximum structural consistency. The objective is to replace ambiguous markers with binary choices in a way that minimizes adjacent character discrepancies across the sequence. This puzzle tests algorithmic thinking, pattern recognition, and dynamic programming or greedy optimization strategies to efficiently compute the optimal configuration cost. Unlocking the full problem description, edge-case analysis, and complete model solution requires an active subscription.
Coding & Leetcode-style QuestionsAmazonMaximum Cities Visited Traveling West to East with Lexicographic City Names
3/5This Upstart interview question tests your ability to find the longest valid sequence of locations by simultaneously satisfying geographical progression and alphabetical ordering constraints. Candidates must design an algorithm that determines the maximum number of stops possible when moving strictly eastward while ensuring that city names increase lexicographically at every step. The problem evaluates advanced sequence manipulation, graph traversal concepts, and efficient searching techniques. To view the complete problem statement, optimal algorithmic approach, and fully working code solution, a subscription is required.
Coding & Leetcode-style QuestionsUpstartRun-Length Encoding (RLE) Encode/Decode with Max Run Length K; Minimize Encoding Length
3/5This Liftoff interview question explores a custom variant of run-length encoding where string compression must adhere to a maximum run-length constraint while achieving the shortest possible encoded representation. You are required to implement both encoding and decoding routines while carefully managing character repetition limits and sequence boundaries. This puzzle tests your string manipulation skills and algorithmic optimization capabilities under tight constraints. Access the full problem details and a comprehensive model solution with a subscription.
Coding & Leetcode-style QuestionsLiftoffMax Credits with K Non-Overlapping Classes
3/5In this algorithmic interview question reported at Snowflake, candidates must determine the maximum achievable credit by selecting a subset of non-overlapping timed classes subject to a maximum count cap. This variant of weighted interval scheduling tests your dynamic programming and greedy optimization skills under complex resource constraints. You must carefully evaluate time intervals and value tradeoffs to maximize returns without violating overlap rules. The full problem and model solution require a subscription.
Coding & Leetcode-style QuestionsSnowflakeTrapping Rain Water
3/5As a classic interview question frequently featured by Goldman Sachs, this problem asks you to calculate the total volume of rainwater that can be captured between elevation bars of varying heights. It serves as a fundamental test of spatial reasoning and tests your ability to optimize linear scans using two-pointer or monotonic stack approaches. The full problem statement, test cases, and optimal model solution are available exclusively to subscribers.
Coding & Leetcode-style QuestionsGoldman SachsFind Maximum Number of Strings
3/5This coding challenge, reported in technical rounds at Moveworks, requires candidates to compute the total quantity of valid alphabetic text sequences of a specified length. The core rule dictates that any pair of consecutive letters must maintain an alphabetical distance within a given threshold. This exercise evaluates your proficiency with dynamic programming, combinatorics, and efficient mathematical computation over large bounds. Access to the comprehensive problem statement and verified model solution requires an active subscription.
Coding & Leetcode-style QuestionsMoveworksOptimal Bucket Batching to Minimize Padding
4/5This advanced optimization problem, reported during software engineering interviews at Amazon, requires partitioning a collection of item lengths into a fixed number of groups to minimize total padding waste. Within each group, items are padded to match the maximum length present in that specific batch. This task tests your expertise in dynamic programming, sorting strategies, and cost-minimization algorithms under strict constraints. The complete problem statement and detailed algorithmic solution require a subscription to access.
Coding & Leetcode-style QuestionsAmazonCoin Change (Minimum Coins)
3/5This classic dynamic programming problem, featured in Adobe coding interviews, challenges you to determine the fewest number of monetary units needed to reach a specific target sum given an unlimited supply of various denomination values. It tests your capability to break down optimization problems into overlapping subproblems and build efficient bottom-up or memoized solutions. The complete problem description, test cases, and optimal model solution require a subscription.
Coding & Leetcode-style QuestionsAdobeMaximum Sum of Non-Overlapping Intervals
4/5Reported as an Amazon interview challenge, this problem tasks you with selecting a non-overlapping subset of scheduled activities, each carrying a specific weight, to achieve the highest aggregate profit. It tests advanced dynamic programming and interval scheduling concepts to handle overlapping timelines efficiently. The complete problem description, complexity analysis, and verified model solution require a subscription.
Coding & Leetcode-style QuestionsAmazonChain of Command — Longest Chain Length
3/5Analyze hierarchical relationships with this graph theory challenge frequently utilized by IMC Trading. The task involves examining a corporate reporting structure to compute the maximum depth of directed supervisory paths within a directed acyclic graph. This problem tests your graph traversal capabilities and your knack for identifying longest paths efficiently. To view the complete problem details and the optimal model solution, a subscription is required.
Coding & Leetcode-style QuestionsIMC TradingTrapping 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 & Leetcode-style QuestionsAppleStarlight
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 & Leetcode-style QuestionsRubrikMinimum Conflicts Merging Two Commit Branches
4/5This Amazon interview question explores merging two distinct commit sequences, represented as strings, into a single combined sequence. The challenge lies in preserving the internal relative order of commits from each original branch while minimizing "conflicts." A conflict is defined as an inversion in the merged sequence, where a commit with a lower priority appears before one with a higher priority. Your task is to determine the optimal interleaving of the two sequences that results in the fewest possible conflicts. This problem tests dynamic programming and sequence manipulation. The full problem statement and a model solution are available with a subscription.
Coding & Leetcode-style QuestionsAmazonPattern Matching with Question Mark and Dot Wildcards
3/5This eBay coding challenge asks you to implement a string matching algorithm. You are given a collection of words and a pattern that includes special characters: one for any single character and another for one or more arbitrary characters. The task is to identify all words from the provided list that completely conform to the given pattern. This problem assesses your ability to handle complex string comparisons and wildcard logic efficiently. The full problem description and a model solution are available with a subscription.
Coding & Leetcode-style QuestionseBayMaximum Profit Within a Budget
3/5Solve a variation of the classic knapsack optimization problem frequently asked in Amazon coding rounds, where you must select a subset of stocks within a given budget to maximize projected financial returns. This challenge tests your dynamic programming skills and your ability to optimize resource allocation under strict financial constraints. Mastering this technique will sharpen your problem-solving toolkit for interview success. Unlocking the complete problem walkthrough, complexity analysis, and verified model solution requires a paid subscription.
Coding & Leetcode-style QuestionsAmazonIncreasing Paths in a Grid
3/5Presented in Hudson River Trading interviews, this grid-based challenge requires you to compute the total count of valid movement sequences where numerical values strictly escalate across adjacent cells. The problem tests advanced traversal strategies, memoization, and combinatorial counting on a matrix. Explore the complete problem breakdown and optimized solution by purchasing a subscription.
Coding & Leetcode-style QuestionsHudson River TradingHouse Robber
2/5This classic dynamic programming challenge, frequently featured in technical interviews at Amazon, requires you to calculate the maximum possible bounty from a row of assets without triggering alarms in back-to-back properties. You will need to efficiently evaluate choices by weighing current gains against neighboring constraints to optimize your overall haul. Discovering the optimal strategy and examining the complete model solution require a paid subscription.
Coding & Leetcode-style QuestionsAmazonMaximize Beautiful Substrings
4/5Presented during Fortinet technical evaluations, this string manipulation challenge invites you to fill in missing characters within a patterned text to maximize the creation of uniform contiguous segments. You must strategize how wildcard positions are resolved to achieve the highest possible density of identical adjacent characters. This puzzle examines advanced string processing, combinatorial thinking, and dynamic programming concepts. Unlock the complete problem breakdown and model solution by subscribing today.
Coding & Leetcode-style QuestionsFortinetBest 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 & Leetcode-style QuestionsVisaMadam C.J. Walker's Business Plan
3/5Inspired by historical entrepreneur Madam C.J. Walker, this Fortinet-reported challenge presents a fascinating twist on the classic knapsack optimization problem. You are tasked with maximizing revenue by selecting from various retail items with exponential profit margins, constrained by a strict investment limit and large number arithmetic. This exercise tests your dynamic programming proficiency and ability to manage modular arithmetic under tight constraints. Access the complete problem description and comprehensive solution by subscribing today.
Coding & Leetcode-style QuestionsFortinetMaximum 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 & Leetcode-style QuestionsAmazonMaximum Profit in Job Scheduling
4/5Reported as a technical challenge at Snowflake, this optimization problem asks you to select a schedule of non-overlapping assignments to achieve maximum financial return. The question evaluates your mastery of dynamic programming combined with efficient searching techniques, such as binary search on sorted intervals. You must carefully weigh overlapping timeframes to determine the most lucrative combination of tasks. Unlock the comprehensive problem description and optimal model solution with a subscription.
Coding & Leetcode-style QuestionsSnowflakeWaste Reduction — Minimize Number of Groups
3/5This IMC Trading interview question tasks you with partitioning a collection of elements into the fewest possible containers without exceeding a specific capacity limit. The problem examines your algorithmic problem-solving skills, particularly your ability to tackle bin-packing optimization challenges using greedy strategies or dynamic programming. You must efficiently organize the items to minimize overall waste. Unlock the full problem details and optimized solution with an active subscription.
Coding & Leetcode-style QuestionsIMC TradingMinimum Total Distance to Two Warehouses
3/5Determining optimal facility locations to minimize travel overhead is a classic optimization challenge frequently asked during Amazon coding evaluations. Given a set of distribution points along a linear route, the goal is to strategically place two service hubs such that the aggregate distance from every point to its closest facility is minimized. This problem tests your mathematical reasoning, range partitioning strategies, and dynamic programming or greedy optimization skills. The full problem statement, detailed constraints, and complete model solution require a paid subscription to access.
Coding & Leetcode-style QuestionsAmazonMorse Code Decoding — Count All Decodings
4/5Tackle an advanced combinatorial puzzle involving ambiguous translations of continuous dot-and-dash signals into valid alphabetic sequences, featured in technical rounds at Google. This problem assesses your proficiency in dynamic programming, recursive parsing, and string manipulation when handling inputs lacking explicit separators. You will learn to count all possible valid segmentations efficiently. The full problem statement, complexity analysis, and clean model solution require an active subscription.
Coding & Leetcode-style QuestionsGoogleWord Break — All Sentences
3/5This classic text-processing challenge, commonly asked in interviews at Amazon, requires you to segment a continuous character string into valid dictionary words, generating every possible sentence combination. You must efficiently explore multiple valid partitions without falling into exponential time traps. The task tests your proficiency with dynamic programming, backtracking recursion, and string manipulation techniques. To explore the complete problem text and review the optimal implementation code, a paid subscription is required.
Coding & Leetcode-style QuestionsAmazonProbability of a Dice Roll Sum
3/5This Belvedere Trading interview question challenges you to compute the likelihood of obtaining a specific aggregate outcome when throwing standard multi-sided dice multiple times. It evaluates your grasp of probability theory, combinatorics, and dynamic programming approaches for counting valid outcomes. To view the full problem statement and expert model solution, a subscription is required.
Coding & Leetcode-style QuestionsBelvedere TradingMaximize Profit with Stock Transactions
2/5Tackle a fundamental financial optimization challenge featured in Zillow coding interviews by determining the optimal buy and sell points to maximize returns from historical stock prices. This problem evaluates your grasp of linear scan techniques, dynamic tracking of minimum values, and efficient single-pass computational strategies. You will practice identifying local extrema and maximizing numerical differences without resorting to slow nested iteration approaches. Elevate your array processing fundamentals and build confidence for upcoming technical screenings. The full problem and model solution require a subscription.
Coding & Leetcode-style QuestionsZillow
Studied alongside
dynamic-programming interview FAQ
- How many dynamic-programming interview questions are there?
- 112 reported questions, mostly Coding & Leetcode-style Questions.
- Which companies ask dynamic-programming questions?
- Amazon (35), Google (5), Rubrik (5), Meta (4), Snowflake (4), Visa (3), ServiceNow (3), Hudson River Trading (3).
- How hard are dynamic-programming questions?
- They average 3.3 out of 5: 7 at 2/5, 67 at 3/5, 38 at 4/5.