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