Month: February 2021

Design a Coffee Machine

Design a coffee machine which makes different beverages based on set ingredients. The quantity of ingredients used for each beverage can vary

Spiral Matrix

Given an m x n matrix, return all elements of the matrix in spiral order. The Spiral Matrix problem takes a 2-Dimensional array of N-rows and M-columns as an input, and prints the elements of this matrix in spiral order.