Third Day of Java

Array
1. Longest consecutive sequence
2. Median of Two Sorted Arrays