This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Aleksey Vladimirovich wrote:My God, now I got how wrong I was
I thought solving of this problem by Winston's approach would request some fancy and very slow algorithm, but I was so wrong. Results talk for themselves.
Thank you guys for steering me to the right solution and your patience! You rock, guys!
And isn't it much more fun when you work out the solution for yourself? That's why we DON'T just hand out answers here.
And well done.
Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here