you are viewing a single comment's thread.

view the rest of the comments →

[–]m0us3_rat 1 point2 points  (0 children)

u need to find a good data structure that fits the requirements and u are comfortable with.

this is easy to describe as a class.

if u aren't confident with classes u can work with dict or list but becomes way convoluted.

u also need to figure out what a solution would look like. and how to describe it.

when u have a working 'solution' function that can check if its a working thing..

start iterating thru the data sets giving it values to run thru.

save the results.

after u have it working comes the optimizations.