# FCC Bonfire Series 147: Friendly Date Ranges

Sad but true. Today, we’ll be tackling Friendly Date Ranges, the last bonfire in the entire FCC Bonfires Series. If you’ve made it up to this point, this next exercise shouldn’t pose much of a problem, but we’ll go through it anyway.

This time, we must write a function that given an array containing two strings that representing two dates (in ‘YYYY-MM-DD’ format) returns a human friendly date range. What the hell does that mean?

According to Free Code Camp, it’s a date range with no redundant information, in other words, if both dates are in the same year and month, only display the day range within that month etc. Keep in mind that if starting in the current year, the following year can be inferred by the reader and thus, should not be displayed. But I’ll stop babbling nonsense and show you some examples so we can get started:

```['2015-10-04', '2015-10-20'] -> ['October 4th', '20th']
['2015-12-24', '2016-01-03'] -> ['December 24th', 'January 3rd']
['2020-01-21', '2021-05-25'] -> ['January 1st, 2020', 'May 25th, 2021'];```

# FCC Bonfire Series 146: No repeats please

No repeats please. This is a tough one, really. We are going to bruteforce this challenge instead of using clever mathematics this time around. Simply because it will let us do a few more things. […]

# FCC Bonfire Series 145: Inventory Update

Today, we tackle the fourth bonfire within the Advanced Algorithm Scripting section, Inventory Update. The way I’m going to work through this problem is, as always, just one among a sea of possible solutions. With it, […]

# FCC Bonfire Series 144: Exact Change

Today, we are going to be working through the Exact Change bonfire. This guy is tough, but we’ll get him for sure. There is a few ways to tackle this problem, but I’ll try to use […]

# FCC Bonfire Series 143: Symmetric Difference

This next bonfire, Symmetric Difference, seems to be a brick wall for many people; when we are done with it, you’ll see how abstraction turns a complex problem into a series of simple smaller steps. […]