Saturday, September 14, 2013

UVA 11553 :: GRID


Going through all permutation as test input is small. this is JAVA solution. its time limit exceeds , you will get accept in C++ use next_permutation function. this code is nice to see how actual permutation would be designed.

1 comment:

  1. Nice article buddy, proved very helpful. People who want tips on GATE exam preparation can also check this blog out https://www.kreatryx.com/blog/strategy-gate-2017-nadeesh-aggarwal-air-21-gate-2016-ee/ Best of luck.

    ReplyDelete