Leetcode - sum of two Leetcode - sum of two largest
Sigiloso
Sum of two - easy question - either by brute force or by using new Map() and saving the complement. Sum of two largest - medium - 1. by writing an utils function to identify the 1st and 2nd largest items in the array. 2. This approach is to sort the arrays using any sorting logic and then get the indices as per the requirement.