Somesh-zz / share_market

Global logic solution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

share_market

Solution to below problem statement:

Consider Share prices for a N number of companies given for each month since year 1990 in a CSV file. Format of the file is as below with first line as header.

Year,Month,Company A, Company B,Company C, .............Company N 1990, Jan, 10, 15, 20, , ..........,50

1990, Feb, 10, 15, 20, , ..........,50

.

.

.

.

2013, Sep, 50, 10, 15............500

  • find the list for each Company year and month in which the share price was highest.

Usage

  • Download the sharemarket folder
  • cd share_makrket
  • python share.py
  • python test_share.py # for test cases

About

Global logic solution


Languages

Language:Python 100.0%