Help for this page

Select Code to Download


  1. or download this
    Input: nums = [3,2,4], target = 6
    Output: [1,2]
    
  2. or download this
    Input: nums = [2,3,4], target = 6
    Output: [0,2]
    
  3. or download this
    Input: nums = [3,3], target = 6
    Output: [0,1]