Find First Unique Number in an Array
Asked at Apple · Coding & Leetcode-style Questions · Difficulty: Easy
Given an array of integers, find the first unique number in the array. If there is no such number, return -1.
Loading the problem…
More Apple interview questions
- LLM conceptual questions
- Implement a Two-Hidden-Layer MLP with Backpropagation in NumPy
- Compare PPO, DPO, and GRPO
- Implement a Vision Transformer (ViT) from Scratch
- Sample from a Gaussian Distribution Using Only Uniform Sampling
- ML Fundamentals and Model Debugging Rapid-Fire