-
-
HackerRank: Pacman A* In the previous game, you performed UCS on the PacMan grid. In this game we use AStar algorithm to reduce the nodes...
-
Related: LeetCode 394 - Decode String http://bookshadow.com/weblog/2016/12/11/leetcode-encode-string-with-shortest-length/ Given a non...
-
HackerRank: PacMan - BFS In the previous game, you performed DFS on the PacMan grid. It was seen that DFS might not always give the short...
-
https://paper.dropbox.com/doc/Interview-Notes-Dropbox-wl7npLjRBjrAKA5AOBsaM Behavioural https://www.paysa.com/blog/2017/04/05/what-to...
-
Buttercola: Buddy System Given a complete binary tree with nodes of values of either 1 or 0, the following rules always hold: 1. A node...
-
Print all sequences of given length | GeeksforGeeks Given two integers k and n, write a function that prints all the sequences of length k...
-
https://leetcode.com/problems/smallest-string-starting-from-leaf/ Given the root of a binary tree, each node has a value from 0 to 2...
-
https://leetcode.com/problems/lemonade-change/description/ At a lemonade stand, each lemonade costs $5 . Customers are standing in a ...
-
Print a pattern without using any loop - GeeksforGeeks Given a number n, print following pattern without using any loop. Input: n = 16 Ou...