Plan to work on the medium level algorithm called "Buy maximum stocks".
I started to work on the algorithm from 3:37 pm, and solved the problem at 5:32 pm.
Plan to go back to study string.Split function StringSplitOptions Enumeration. The msdn link is here.
Here is the progress report. I took 36 minutes to review the code, and fixed bugs, and then read one of discussions to get the bug fixed, solved all test cases from 1 to last one run time error issue.
Now the ranking moved from 7xxx to 4xxx. Good job!
Follow up
Code submitted in the contest is here.
No comments:
Post a Comment