Frontier Interview
Companies
Questions
Pricing
Sign in
Questions
/
Tag
#prefix sums
Split an array into two halves with equal sums
Coding
Easy
Meta
▲ 0
1 solution
Distance to the nearest waypoint along a route
Coding
Medium
Tesla
▲ 0
1 solution
Max purchases from a sorted price row
Coding
Medium
Uber
▲ 0
1 solution
Split a string into blocks that match the prefix's letter counts
Coding
Easy
Amazon
▲ 0
1 solution
Lift-to-stairs switch with an energy budget
Coding
Medium
Uber
▲ 0
1 solution
Minimum starting battery for a task queue
Coding
Easy
Amazon
▲ 0
1 solution
Single-direction stock rebalancing on a ring
Coding
Medium
Amazon
▲ 0
1 solution
Best k-day run in a cyclic sprint schedule
Coding
Medium
Amazon
▲ 0
1 solution
Levels cleared from every starting point
Coding
Medium
Uber
▲ 0
1 solution
Garage occupancy at every timestamp
Coding
Easy
W
Waymo
▲ 0
1 solution
Best starting layer for a falling ball with an energy budget
Coding
Hard
Google
▲ 0
1 solution
Count redundant substrings by vowel and consonant weights
Coding
Medium
Amazon
▲ 0
1 solution
Longest run of customers a bank can serve
Coding
Medium
Google
▲ 0
1 solution
Count the maximum in each queried suffix
Coding
Easy
Microsoft AI
Microsoft
▲ 0
1 solution
Cross the most walls on a number line with limited energy
Coding
Medium
Scale AI
▲ 0
1 solution
Count stable server segments
Coding
Medium
Scale AI
▲ 0
1 solution
Esc
Question types
Prefix sums interview questions · Frontier Interview