This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object MergeSort { | |
def sort(l1: List[Int], l2: List[Int]): List[Int] = (l1, l2) match { | |
case (List(), List()) => List() | |
case (x :: xs, List()) => l1 | |
case (List(), y :: ys) => l2 | |
case (x :: xs, y :: ys) => | |
if (x < y) x :: sort(xs, l2) else y :: sort(ys, l1) | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"知らないと損する給与明細(小学館新書)" | |
大村大次郎 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🌞 Morning 57 commits ███▊░░░░░░░░░░░░░░░░░ 18.4% | |
🌆 Daytime 20 commits █▎░░░░░░░░░░░░░░░░░░░ 6.5% | |
🌃 Evening 126 commits ████████▌░░░░░░░░░░░░ 40.6% | |
🌙 Night 107 commits ███████▏░░░░░░░░░░░░░ 34.5% |