Insert Intervals Leetcode Two Sum Solution In C