Need help to return indices from divide and conquer algorithm that calculates max stock profit from a list of closing prices. Algorithm is complete but unable to keep track of buy and sell days. Need assistance tracking these days with indices of a python list.
-Buy and sell date alongside the max profit output (through tracking indices).
-For each ticker symbol in file print the same.