NVIDIA interview question

Mostly from the past experience, One small technical problem to solve