Hello, I have a question about the very last step of https://www.codecademy.com/paths/pass-the-technical-interview-with-java/tracks/sorting-algorithms-java/modules/merge-sort-java/lessons/merge-sort-java/exercises/review
The instruction is as follows.
In MergeSort.java , we included your code from the last exercise. If you’re up for the challenge, see if you can combine the two lines in your
else blocks into one line to make your code look a little cleaner.
I need some hints (NOT the solution code though). I am browsing in the Internet and I found out that one could combine multiple “if” lines with
enum or other similar solutions. Am I supposed to apply these solutions to this step too?