Two Sum Existence
Asked at Hudson River Trading · Coding Questions · Difficulty: Easy
Given an integer array `nums` and an integer `target`, determine whether there exist two elements with **different indices** whose sum equals `target`. Return `true` if such a pair exists; otherwise return `false`.
Loading the problem…
More Hudson River Trading interview questions
- Buffer Readers for char/int/string with Pointer Advancement
- Heart Disease Prediction — EDA and Modeling
- Implement a Coroutine Step by Step
- C++ Template Wrapper over std::map and std::unordered_map
- Implement Modify in an Order Management System (Codebase Extension)
- Stock Buy Sell Position Indicator