oracle logo
Oracle· Senior Software Engineer

Oracle | Technical (Phone) Screen | Senior Software Engineer | USA

Location
USA
Posted
10 Mar 2026
358 reads

Summary

I had a phone screen with Oracle for a Senior Software Engineer role where I was challenged to design an event throttling mechanism, for which I provided a functional solution.

How it went

I recently had a phone screen with Oracle for a Senior Software Engineer role and was asked the following question:

"In a first-person shooter (FPS) game, players trigger actions like shooting, reloading, or throwing grenades by pressing keys. During intense gameplay, players may press the same key repeatedly in a short period of time, which can lead to excessive event triggers."

I was asked to design a throttling mechanism that ensures the same event type can only be triggered once within a given delay period. If the same event occurs again before the delay expires, it should be ignored. Each event type should be handled independently.

Example: delay = 5 events: [("shoot", 1), ("shoot", 2), ("reload", 3), ("shoot", 6)] output: [true, false, true, true]

This is the solution I came up with. Curious to know if there's a more optimal approach.

Questions asked (1)

  1. 01

    Event Throttling Mechanism for FPS Game

    Data Structures & Algorithms

    In a first-person shooter (FPS) game, players trigger actions like shooting, reloading, or throwing grenades by pressing keys. During intense gameplay, players may press the same key repeatedly in a short period of time, which can lead to excessive event triggers.

    Design a throttling mechanism that ensures the same event type can only be triggered once within a given delay period. If the same event occurs again before the delay expires, it should be ignored. Each event type should be handled independently.

    Example: delay = 5 events: [("shoot", 1), ("shoot", 2), ("reload", 3), ("shoot", 6)] output: [true, false, true, true]

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Oracle recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!