Nearly every modern business relies on computers and various software. Consequently, the ability to both read and write code is rapidly becoming one of the most valuable skills for any indvidual in the workforce. As such, NP Labs offers free, public resources to help spread the love of coding to all!
NP Labs believes that coding challenges are a necessity when it comes to improving one's programming abilites. The prompts are found below, and solutions, which are written in Python, are supplied with commented code walking through the steps! (Click the circular icon within the prompt to download the solutions.)
Difficulty: 3/5
Given a list of historic stock prices, write a function/algorithm that tells when you should have bought or sold to make the most profit.
niels.pineda@nplabs.com
niels.pineda
+(805) 604 2723
100 Lou Lane, San Francisco, CA 94123