How to Get a Sequence in Order With No Duplicate Consecutive Items

JavaScript solution for Implement the function uniqueInOrder which takes as argument a sequence and returns a list of items without any elements with the same value next to each other and preserving the original order of elements. Learn How to Get a Sequence in Order With No Duplicate Consecutive Items in JavaScript Day 12 of 365 Days of Coding

Read More
Rachael Smith Rachael Smith

Flatten and Sort an Array of Arrays JavaScript

How to flatten, filter, and sort and array in JavaScript. The solution for a popular interview question flatten an array taken one step further to make it an array with only the unique values and have it sorted in numerical order.

Read More