please suggest a solution for this problem using BFS i m nt able to get how we apply bfs here though brute force would do
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=6 thnxx in advance please explain in detail so that i become able to tackle such problems in future -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.