PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Software Engineering Fundamentals/NVIDIA

Design a top-build target tracker

Last updated: Apr 12, 2026

Quick Overview

This question evaluates object-oriented design and data-structure skills, focusing on time-windowed aggregation, top-k query computation, tie-breaking and ordering semantics, and handling of out-of-order event streams.

  • medium
  • NVIDIA
  • Software Engineering Fundamentals
  • Software Engineer

Design a top-build target tracker

Company: NVIDIA

Role: Software Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Technical Screen

Design an object-oriented component that tracks software build activity. Each build event contains: - `target_name`: the name of the build target - `timestamp`: when the build happened The component should support: 1. `recordBuild(target_name, timestamp)` 2. `getTopTargets(start_timestamp, end_timestamp)`: return the 10 most frequently built targets in the given time range Clarify tie-breaking, expected ordering, and whether events may arrive out of order. Provide pseudocode, the main classes, and the time and space complexity of your approach.

Quick Answer: This question evaluates object-oriented design and data-structure skills, focusing on time-windowed aggregation, top-k query computation, tie-breaking and ordering semantics, and handling of out-of-order event streams.

Related Interview Questions

  • Write SQL to sum city population by name - NVIDIA (easy)
  • Compare arrays, linked lists, hash tables, trees - NVIDIA (easy)
  • Explain Amdahl’s law and GPU matmul optimization - NVIDIA (medium)
  • Explain container image flow in CI/CD - NVIDIA (medium)
  • Explain virtual machines and concurrency basics - NVIDIA (medium)
NVIDIA logo
NVIDIA
Jan 30, 2026, 12:00 AM
Software Engineer
Technical Screen
Software Engineering Fundamentals
8
0
Loading...

Design an object-oriented component that tracks software build activity.

Each build event contains:

  • target_name : the name of the build target
  • timestamp : when the build happened

The component should support:

  1. recordBuild(target_name, timestamp)
  2. getTopTargets(start_timestamp, end_timestamp) : return the 10 most frequently built targets in the given time range

Clarify tie-breaking, expected ordering, and whether events may arrive out of order. Provide pseudocode, the main classes, and the time and space complexity of your approach.

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More Software Engineering Fundamentals•More NVIDIA•More Software Engineer•NVIDIA Software Engineer•NVIDIA Software Engineering Fundamentals•Software Engineer Software Engineering Fundamentals
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • 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.