Array


  • Given an array A[] and a number x, check for pair in A[] with sum as x
  • Find a triplet that sum to a given value
  • Find four elements that sum to a given value (4Sum problem)
  • Generalize to the case where the sum of k elements is 0
Home
Subscribe to: Posts (Atom)