i'm trying to solve this problem.. https://www.spoj.pl/problems/TRAFFICN/ <https://www.spoj.pl/problems/TRAFFICN/>
here there are m edges.. in addition you are given k bi directional edges out of which u can choose only one bi directional or u choose none of the additional edges... aim is to reduce the cost to go from source to destination ans=min(ans,dijkstras(one new added edge)) gives me tle.... can anyone throw some insight into this problem -- 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.