Tag Archives: For Loops

Bonfire 08: Return Largest Numbers in Arrays

TASK: Return an array consisting of the largest number from each provided sub-array. For simplicity, the provided array will contain exactly 4 sub-arrays.


Bonfire 20: Diff Two Arrays

TASK: Compare two arrays and return a new array with any items not found in both of the original arrays.