mergesorts icon indicating copy to clipboard operation
mergesorts copied to clipboard

reformatted mergesort.java

Open junwang0510 opened this issue 2 years ago • 0 comments

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

junwang0510 avatar Nov 24 '22 08:11 junwang0510