{"size": 835, "ext": "js", "max_stars_repo_path": "medium/javascript/c0029_56_merge-intervals/00_leetcode_0029.js", "max_stars_repo_name": "drunkwater/leetcode", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "medium/javascript/c0029_56_merge-intervals/00_leetcode_0029.js", "max_issues_repo_name": "drunkwater/leetcode", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "medium/javascript/c0029_56_merge-intervals/00_leetcode_0029.js", "max_forks_repo_name": "drunkwater/leetcode", "max_forks_repo_forks_event_min_datetime": "2018-02-09T02:46:48.000Z", "max_forks_repo_forks_event_max_datetime": "2021-02-20T08:32:03.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 3, "avg_line_length": 27.8333333333, "max_line_length": 79, "alphanum_fraction": 0.6263473054}
/* DRUNKWATER TEMPLATE(add description and prototypes) */
/* Question Title and Description on leetcode.com */
/* Function Declaration and Function Prototypes on leetcode.com */
//56. Merge Intervals
//Given a collection of intervals, merge all overlapping intervals.
//Example 1:
//Input: [[1,3],[2,6],[8,10],[15,18]]
//Output: [[1,6],[8,10],[15,18]]
//Explanation: Since intervals [1,3] and [2,6] overlaps, merge them into [1,6].
//Example 2:
//Input: [[1,4],[4,5]]
//Output: [[1,5]]
//Explanation: Intervals [1,4] and [4,5] are considerred overlapping.
///**
// * Definition for an interval.
// * function Interval(start, end) {
// *     this.start = start;
// *     this.end = end;
// * }
// */
///**
// * @param {Interval[]} intervals
// * @return {Interval[]}
// */
//var merge = function(intervals) {
//};



/* Time Is Money */