Problems for review

Speed . Accuracy . Efficiency

There are two problems , one of them is of BFS and other is Dijkstra

Also, both of them are complete with editorials etc. To ensure uniquness and genuineness of the problem, please feel free to look up the internet.

I'll also let you know the inspiration behind both of these - The Dijkstra question was asked to a friend of mine in a coding interview and the other is inspired by an article i had come across the internet.

If you find any ambiguity/plagiarism issues (I haven't searched up, but please tell me if you find anything , and even i'll try looking up) , please let me know, and reject these problems immediately (We dont want a bad name for HackerRank)

Thanks Dheeraj

Rules

  • All the challenges will have a predetermined score. Score of a game is calculated using Bayesian Approximation
  • This contest will appeal to programmers who're interested in interesting algorithmic challenges, AI challenges and of course general programming
  • HackerRank admins decision will be final
  • Please refrain from discussing strategy during the contest.
  • Any case of code plagiarism will result in disqualification of both the users from the contest. We've a fairly good plagiarism detector that works at the opcode level.
  • You can code directly on our interface. We support 20 major languages. You can have a look at the environment in which we run your code