-
-
Related: LeetCode 394 - Decode String http://bookshadow.com/weblog/2016/12/11/leetcode-encode-string-with-shortest-length/ Given a non...
-
Find the minimum cost to reach destination using a train - GeeksforGeeks There are N stations on route of a train. The train goes from st...
-
Greedy Algorithms | Set 3 (Huffman Coding) | GeeksforGeeks Huffman coding is a lossless data compression algorithm. The idea is to assign ...
-
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...
-
Follow up: LeetCode 471 - Encode String with Shortest Length https://leetcode.com/problems/decode-string/ Given an encoded string, retu...
-
HackerRank: N Puzzle N Puzzle is a sliding blocks game that takes place on a k * k grid with ((k * k) - 1) tiles each numbered from 1 to ...
-
Find if given matrix is Toeplitz or not - GeeksforGeeks Given a square matrix, find if it's a Toeplitz matrix or not. A Toeplitz (or d...
-
Count the number of possible triangles https://leetcode.com/problems/valid-triangle-number Given an array consists of non-negative integ...
-
Dynamic Programming | Set 31 (Optimal Strategy for a Game) | GeeksforGeeks Problem statement: Consider a row of n coins of values v1 . . ...