---
title: "Discussion on \"Intermediate algorithm FreeCodeCamp: Diff Two Arrays\" | Hashnode"
description: "Discussion on \"Intermediate algorithm FreeCodeCamp: Diff Two Arrays\". The challenge from FreeCodeCamp:\nCompare two arrays and return a new array with any items only found in one of the two given arrays, but not both. In other words, return the symmetric difference of the two arrays.\nNote: You can return the array with ..."
url: "https://hashnode.com/posts/intermediate-algorithm-freecodecamp-diff-two-arrays/60ac179a61f5f47b572b6885"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Intermediate algorithm FreeCodeCamp: Diff Two Arrays](https://cesaremannino.hashnode.dev/intermediate-algorithm-freecodecamp-diff-two-arrays?utm_source=hashnode&utm_medium=feed)

The challenge from FreeCodeCamp: Compare two arrays and return a new array with any items only found in one of the two given arrays, but not both. In other words, return the symmetric difference of the two arrays. Note: You can return the array with ...

May 24, 2021 · 3 min read · cesaremannino.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#freecodecamp](https://hashnode.com/tag/freecodecamp)

## Written by

[Cesare](https://hashnode.com/@devmanny)

@devmanny · Cape Town, South Africa

  
[View profile](https://hashnode.com/@devmanny)

Programmer JavaScript and Python

I am developer from Italy living in Cape Town.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
