PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Coding & Algorithms/LendingClub

Determine If Two Numbers Sum to Target

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a candidate's basic algorithmic fluency in array processing and the ability to reason about pairwise sums using auxiliary data structures.

  • Medium
  • LendingClub
  • Coding & Algorithms
  • Data Scientist

Determine If Two Numbers Sum to Target

Company: LendingClub

Role: Data Scientist

Category: Coding & Algorithms

Difficulty: Medium

Interview Round: Technical Screen

##### Scenario Live CodeShare Python/Java question during the same LendingClub interview assessing basic algorithmic fluency. ##### Question Given an integer array nums and an integer target, return true if any two distinct numbers in nums sum to target; otherwise return false. ##### Hints An O(n) hash-set solution is acceptable; explain trade-offs vs. sorting.

Quick Answer: This question evaluates a candidate's basic algorithmic fluency in array processing and the ability to reason about pairwise sums using auxiliary data structures.

LendingClub logo
LendingClub
Aug 4, 2025, 10:55 AM
Data Scientist
Technical Screen
Coding & Algorithms
2
0
Scenario

Live CodeShare Python/Java question during the same LendingClub interview assessing basic algorithmic fluency.

Question

Given an integer array nums and an integer target, return true if any two distinct numbers in nums sum to target; otherwise return false.

Hints

An O(n) hash-set solution is acceptable; explain trade-offs vs. sorting.

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More Coding & Algorithms•More LendingClub•More Data Scientist•LendingClub Data Scientist•LendingClub Coding & Algorithms•Data Scientist Coding & Algorithms
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.