Skip to content

Latest commit

 

History

History

largest_product

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Largest product in array

Given a 2D array of numbers, find the largest product of adjacent values.

Challenge

Algorithm input consists of a 2 dimensional array or similar language data structure, array contents are numbers. Output should be a product of 2 adjacent numbers in the matrix. No standard library solutions for array manipulation are to be used.

Solution

Whiteboard Images