fold() vs reduce() in Kotlin: Difference, Examples, and When to Use Each | CodeTrail