FastPrepUpdate Release Scheduler (QR Intern)
Problems/Update Release Scheduler (QR Intern)

Update Release Scheduler (QR Intern)

Akuna Capital logoAkuna Capital● MediumINTERNOA

Updated Sep 2026

QuestionFunctionExamplesConstraints

Problem statement

For a mobile software, there are a total of n planned updates. The scheduled release time for each update is provided in the array plannedDate, indicating the number until each update is planned to launch. There are earlier, alternate release dates for the updates, represented by the array alternateDate.

The software updates must be launched in the order of their planned release times. Each update can be launched either on the planned date or the alternate one. Determine the minimum number of days required to release all updates.

Note: Multiple updates can be released on the same day.

Function

minimumDays(n: int, plannedDate: int[], alternateDate: int[]) → int

Examples

Example 1

n = 4plannedDate = [3, 7, 4, 9]alternateDate = [1, 5, 2, 3]return = 9

The updates must be launched in the order of their planned release dates. Therefore, the order of release of updates is [1, 3, 2, 4]. The updates can be launched in the following order:

  • Update 1 on Day 1 (alternate release date)
  • Update 3 on Day 2 (alternate release date)
  • Update 2 on Day 5 (alternate release date)
  • Update 4 on Day 9 (planned date as the alternate date has passed)

This optimal sequence allows all updates to be released in 9 days.

Constraints

  • 🍎🍎

More Akuna Capital interview questions

  • Delivery Management SystemOA · Seen Nov 2026
  • Count Server ReplacementsOA · Seen Nov 2026
  • Match Orders by Price and Arrival TimeOA · PHONE SCREEN · ONSITE INTERVIEW · Seen Nov 2026
  • Maximum Remaining Drone PowerOA · Seen Nov 2026
  • Biased Coin: Probability of Exactly h HeadsPHONE SCREEN · Seen Nov 2026
  • Positive Nth Root with Gradient DescentPHONE SCREEN · ONSITE INTERVIEW · Seen Nov 2026
  • Rolling MetricsOA · Seen Oct 2026
  • Vowel Substring GameOA · Seen Sep 2026
  • Competitive ForagingOA · Seen Sep 2026
  • Binary CircuitOA · Seen Sep 2026

Similar questions at other companies

  • Find Minimum TimeAlphaSense · OA
  • Find Minimum TimeBlackRock · OABlackRock interview questions
  • Maximum Easy Tasks After RearrangingIBM · OAIBM interview questions
  • Minimum Cost K-Capable ModelsMicrosoft · OAMicrosoft interview questions
  • Minimum Cost of Every K-Capable Model SetTikTok · OATikTok interview questions
  • Maximum Distinct Values After Unit AdjustmentsBirla Pivot · OA
  • Maximize Revenue from Decreasing InventoryChubb · OAChubb interview questions
  • Minimum Distinct Prefix CostGoldman Sachs · OAGoldman Sachs interview questions
  • Maximum Alternating-Index Packet ValueInfosys · OAInfosys interview questions
  • Maximize Minimum Deployment DifficultyJP Morgan Chase · OAJP Morgan Chase interview questions

Akuna Capital interview experiences

  • Akuna Capital Quant Trader and QR Interviews: 5 Experiences
  • Akuna Capital JQR CodePair Rounds: 8 Experiences (Part 6 of 6)
  • Akuna Capital QR Probability Phones: 14 Experiences (Part 5 of 6)
  • Akuna Capital QR-ML Interviews: 11 Experiences (Part 4 of 6)
  • Akuna Capital QR Regression Rounds: 11 Experiences (Part 3 of 6)
  • Akuna Capital QR Coding Interviews: 17 Experiences (Part 2 of 6)
All Akuna Capital interview questionsSee Akuna Capital hiring insights
Saved
class Solution {
    public int minimumDays(int n, int[] plannedDate, int[] alternateDate) {
      // write your code here
    }

}
Checking account…