/** * All solutions to the Stock Market problem implement * this interface. * * @author americachambers * */ public interface StockIfc { /** * Solves a given instance of the Stock Market * problem specified by the input array of prices * * @param array stock prices * @return a solution to the Stock Market problem */ public StockInfo solve(int[] array); }