← Questions

Oldest one-time visitor in a login stream

0
AmazonUberCodingLast asked Aug 2026

A coding interview question asked in Uber's technical phone screen and at Amazon, last asked Aug 2026. It tests hash map, linked list and design.

An online store wants to know which customers have visited only once. Every login is reported to your service as a username, in the order the logins happen.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Uber · Technical phone screen · Last asked Aug 202660 min · One medium problem with a follow-up, or two short ones; sometimes object-oriented design
  • Amazon · Coding · Last asked Apr 202655 min · Usually two rounds; one is often an object-oriented design built in steps · No AI

What it tests

hash map · linked list · design · streaming

Your code and the AI tutor open when you unlock this question.