## Tidy Numbers (Code Jam ’17 Qualification Round)

Given a long number and you have to determine a number which is smaller than the number (or equal) as well as its digits must be arranged in non-decreasing order.

Ravi Kant Algorithm Algorithm, Code Jam17 0

Given a long number and you have to determine a number which is smaller than the number (or equal) as well as its digits must be arranged in non-decreasing order.

Ravi Kant Algorithm Algorithm, Code Jam17 0

Last year, the Infinite House of Pancakes introduced a new kind of pancake. It has a happy face made of chocolate chips on one side (the “happy side”), and nothing on the other side (the “blank side”).

Ravi Kant Algorithm, Artificial Intelligence Artificial Intelligence, Game Theory 0

The prisoner’s dilemma refers to a situation, wherein an individual has to choose between self-interest and mutual interest.The prisoner’s dilemma is a standard

Ravi Kant Algorithm, Hacker Rank Algorithm, CodeSprint, Hacker Rank 0

A numeric string, \(s\) , is beautiful if it can be split into a sequence of two or more positive integers, \(a_1, a_2, …, a_n\), satisfying the following

Ravi Kant Algorithm Algorithm, BFS, Data Structure, Graph, INOI, NPTEL 1

The latest hit on TV is a jumping game played on a giant rectangular chessboard. Each participant dresses up in a green frog suit and starts at the top left corner of the board.

Ravi Kant Algorithm, Hacker Rank Algorithm, Game Theory, Greedy, Hacker Rank 0

Adarsh and Saurabh are playing a Game in Winter Vacation. The game consists of \(N\) piles where each pile has some \(P_i\) marbles. At each step one player can search for pile with minimum number of marbles and removes it and all elements present to its right from list.