Update MergeIntervals.java

Submission Result: Compile Error

Line 37: invalid method declaration; return type required

Submission Result: Runtime Error

Last executed input:	[]

Submission Result: Wrong Answer

Input:	[[1,3]]
Output:	[]
Expected:	[[1,3]]