JobsJob TrackerJob alerts

Procol ยท 13 questions

All 13Coding 11
  • Minimum changes to make array elements primeCoding
  • Concatenate N strings from vowel indexCoding
  • Minimize the largest element after operationsCoding
  • Power of 2 using bit manipulationCoding
  • Efficient stack implementation using linked listCoding
  • SQL Joins and Left Outer Join
  • Find two pairs in unsorted array with sum kCoding
  • Find first 1 in sorted binary array of unknown sizeCoding
  • Basic String-based questionCoding
  • Square root using binary searchCoding
  • Index of first 1 in an infinite sorted arrayCoding
  • Database Normalization
  • Two coding questions using HashingCoding
โ† Procol questions
  1. Interview questions
  2. Procol
  3. Find two pairs in unsorted array with sum k
Coding

Find two pairs in unsorted array with sum k

Filed under Procol

The question

Given an unsorted array, find two pairs whose elements sum to a given value k.

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

Related Procol questions

  • Minimum changes to make array elements prime
  • Concatenate N strings from vowel index
  • Minimize the largest element after operations
  • Power of 2 using bit manipulation
  • Efficient stack implementation using linked list
โ† SQL Joins and Left Outer JoinFind first 1 in sorted binary array of unknown size โ†’

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