mergesorts
mergesorts copied to clipboard
reformatted mergesort.java
Changes:
- Utilized ternary operator to make the code more concise
- Changed the condition check at the beginning to include the case when the input array is empty