JobsJob TrackerJob alerts

NPCI · 18 questions

All 18Coding 11System Design 1Behavioral 3
  • Check if a string is a palindromeCoding
  • Reverse a stringCoding
  • Sort an array in ascending orderCoding
  • Insert a value into an SQL tableCoding
  • Minimum sum of deleted elementsCoding
  • Robot path minimum strengthCoding
  • Product Array PuzzleCoding
  • Aptitude and Technical MCQs
  • Coding AssessmentCoding
  • Project Architecture and WorkflowBehavioral
  • Essay on minimizing plastic usage
  • One easy array and one medium tree coding questionCoding
  • Introduction, backlogs, Aadhar name match and 60% criteriaBehavioral
  • Internship frameworks and project detailsBehavioral
  • Design an app to visit friends in Trichy by the shortest routeSystem Design
  • Implement a decision tree
  • Reverse an arrayCoding
  • Two-sum with a single loopCoding
← NPCI questions
  1. Interview questions
  2. NPCI
  3. Two-sum with a single loop
Coding

Two-sum with a single loop

Filed under NPCI

The question

Find the two numbers summing to a target using only one for loop.

No write-up yet. Related questions below have one.

Related NPCI questions

  • Sort an array in ascending order
  • Insert a value into an SQL table
  • Minimum sum of deleted elements
  • Robot path minimum strength
  • One easy array and one medium tree coding question
← Reverse an array

Collected from public candidate posts and coding forums. Updated Nov 2026.