PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCareers
|Home/Coding & Algorithms/Upstart

Solve remembered OA coding tasks

Last updated: Mar 29, 2026

Quick Overview

This set of problems evaluates skills in data aggregation and ordering (identifying top averages), computational geometry and extrema calculation (axis-aligned bounding rectangle), and grid constraint validation and consistency checking (partially filled 9x9 number board).

  • medium
  • Upstart
  • Coding & Algorithms
  • Software Engineer

Solve remembered OA coding tasks

Company: Upstart

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Take-home Project

The online assessment reportedly had five coding questions, but only the following three were described clearly enough to reconstruct: 1. **Find the top three companies by average stock price** You are given a mapping from company name to a list of its daily stock prices over several days. Compute the average stock price for each company and return the names of the **three companies with the highest average price**. If there are fewer than three companies, return all of them. If two companies have the same average, break ties by company name in ascending lexicographic order. 2. **Compute the bounding rectangle of a set of points** You are given a list of 2D coordinates `[(x1, y1), (x2, y2), ..., (xn, yn)]`. Return four values: - the minimum `x` value, - the minimum `y` value, - `max_x - min_x`, - `max_y - min_y`. In other words, return the lower-left corner, width, and height of the smallest axis-aligned rectangle that contains all points. 3. **Validate a partially filled 9x9 number board** You are given a 9x9 grid where each cell contains either a digit `'1'` through `'9'` or `'.'` for empty. Determine whether the current board state is valid under these rules: - no digit may appear more than once in any row, - no digit may appear more than once in any column, - no digit may appear more than once in any 3x3 subgrid. The other two OA questions were not described clearly enough to reconstruct.

Quick Answer: This set of problems evaluates skills in data aggregation and ordering (identifying top averages), computational geometry and extrema calculation (axis-aligned bounding rectangle), and grid constraint validation and consistency checking (partially filled 9x9 number board).

Related Interview Questions

  • Implement Three Assessment Functions - Upstart (medium)
  • Solve Five OA Coding Tasks - Upstart (medium)
  • Solve Reported OA Coding Problems - Upstart (medium)
  • Decrypt a twice-encrypted message using known pairs - Upstart (medium)
  • Compute buffet revenue with capacity and waiting - Upstart (medium)
Upstart logo
Upstart
Jan 20, 2026, 12:00 AM
Software Engineer
Take-home Project
Coding & Algorithms
5
0

The online assessment reportedly had five coding questions, but only the following three were described clearly enough to reconstruct:

  1. Find the top three companies by average stock price
    You are given a mapping from company name to a list of its daily stock prices over several days. Compute the average stock price for each company and return the names of the three companies with the highest average price . If there are fewer than three companies, return all of them. If two companies have the same average, break ties by company name in ascending lexicographic order.
  2. Compute the bounding rectangle of a set of points
    You are given a list of 2D coordinates [(x1, y1), (x2, y2), ..., (xn, yn)] . Return four values:
    • the minimum x value,
    • the minimum y value,
    • max_x - min_x ,
    • max_y - min_y .
    In other words, return the lower-left corner, width, and height of the smallest axis-aligned rectangle that contains all points.
  3. Validate a partially filled 9x9 number board
    You are given a 9x9 grid where each cell contains either a digit '1' through '9' or '.' for empty. Determine whether the current board state is valid under these rules:
    • no digit may appear more than once in any row,
    • no digit may appear more than once in any column,
    • no digit may appear more than once in any 3x3 subgrid.

The other two OA questions were not described clearly enough to reconstruct.

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Coding & Algorithms•More Upstart•More Software Engineer•Upstart Software Engineer•Upstart Coding & Algorithms•Software Engineer Coding & Algorithms
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • Careers
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.