Re: 538 - Balancing Bank Accounts
Posted: Mon Apr 08, 2013 9:55 pm
I kinda don't understand what the problem really needs. What if the number of solutions is less than N-1? will it be okay?
Code: Select all
I got WA with my code. I'm not sure what's the problem of it. Can anyone help?
My algorithm was wrong that's why I'm getting WA. I tried a brute force method that will get all the possible transactions by permuting each transaction
After that I got WA