# Which method to use?

Not sure whether to use `.map`, `.filter`, or `.reduce`? This flowchart should help to guide you:

![map-reduce-filter](../../../.gitbook/assets/map-reduce-filter.png)

## Lab

[https://github.com/thoughtworks-jumpstart/map-reduce-filter](https://github.com/thoughtworks-jumpstart/map-reduce-filter)

