Two Sum
Asked at eBay · Coding Questions · Difficulty: Easy
Given an integer array `nums` and an integer `target`, find two elements at different indices such that their sum equals `target`. Return the two indices. The answer may be returned in any order.
Loading the problem…
More eBay interview questions
- Build a Simplified Image-Text Retrieval Training and Evaluation Pipeline
- Unique Word Abbreviation (Design)
- Minimum Meeting Rooms Required for Overlapping Meetings
- Validate US Phone Numbers with a Regular Expression
- Design a Bitmap Block Allocator
- Balloon Explosion