## 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”).

Jyoti Algorithm Algorithm, Binary Search 1

Binary search is one of the fundamental algorithm in the computer science. Binary search is used to quickly find a value in a sorted sequence (consider the sorted sequence to be an ordinary array).

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.

1 2