Recording Episodes

Cerinta completa Dave is a die-hard fan of a show called “HackerRank”, in which a young programmer uses her problem-solving abilities to solve crimes. He splurged on a Digital Video Recorder (DVR) so that he can record HackerRank episodes and

Quicksort 1 – Partition

Cerinta completa The previous challenges covered Insertion Sort, which is a simple and intuitive sorting algorithm with a running time of . In these next few challenges, we’re covering a divide-and-conquer algorithm called Quicksort (also known as Partition Sort). This

Password Cracker

Cerinta completa There are n users registered on a website CuteKittens.com. Each of them has a unique password represented by pass[1], pass[2], …, pass[N]. As this a very lovely site, many people want to access those awesomely cute pics of

Oil Well

Cerinta completa Mr. Road Runner bought a piece of land in the middle of a desert for a nominal amount. It turns out that the piece of land is now worth millions of dollars as it has an oil reserve

New Year Game

Cerinta completa It’s New Year’s Day, and Balsa and Koca are stuck inside watching the rain. They decide to invent a game, the rules for which are described below. Given array containing integers, they take turns making a single move.

Minimum MST Graph

Cerinta completa Allison loves graph theory and just started learning about Minimum Spanning Trees(MST). She has three integers, , , and , and uses them to construct a graph with the following properties: The graph has nodes and undirected edges