# Use Higher-Order Functions map, filter, or reduce to Solve a Complex Problem

**URL:** <https://forum.freecodecamp.org/t/use-higher-order-functions-map-filter-or-reduce-to-solve-a-complex-problem/584062>\
**Category:** Curriculum Help\
**Created:** [January 10, 2023, 5:19pm UTC](https://forum.freecodecamp.org/t/use-higher-order-functions-map-filter-or-reduce-to-solve-a-complex-problem/584062 "2023-01-10T17:19:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ArielLeslie](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/arielleslie/32/264841_2.png) [@ArielLeslie](https://forum.freecodecamp.org/u/ArielLeslie)\
**Post date:** [January 10, 2023, 5:21pm UTC](https://forum.freecodecamp.org/t/use-higher-order-functions-map-filter-or-reduce-to-solve-a-complex-problem/584062/2 "2023-01-10T17:21:15Z")

</div>

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (`</>`) to add backticks around text.

 ![Pre-formatted-text](https://global.discourse-cdn.com/freecodecamp/original/3X/1/b/1b18854f1059217f29370444396145cc3a0cd8ae.gif)

See [this post](https://forum.freecodecamp.org/t/forum-code-formatting/25574) to find the backtick on your keyboard.  
**Note:** Backticks (`) are not single quotes (').

---

_[View the full topic](https://forum.freecodecamp.org/t/use-higher-order-functions-map-filter-or-reduce-to-solve-a-complex-problem/584062)._
