CodeChef's Solutions

### Flipping Coins Solution with Approach - Codechef

There are N coins kept on the table, numbered from 0 to N – 1. Initially, each coin is kept tails up. You have to perform two types of operations

### The Next Palindrome's Solution with Approach - CodeChef

Problem Statement A positive integer is called a palindrome if its representation in the decimal system is the same when read from left to right and from right to left. For a…

### Marbles' Solution with Approach - Codechef

Problem Statement Rohit dreams he is in a shop with an infinite amount of marbles. He is allowed to select n marbles. There are marbles of k different colors. From…

### Closing the Tweets Problem's Solution with Approach - CodeChef

Problem Statement Little kids, Jack and Evan like playing their favorite game Glass-and-Stone. Today they want to play something new and came across Twitter on their father’s laptop. They saw…

### Bytelandian gold coins Problem Solution with Approach - CodeChef

Problem Statement In Byteland they have a very strange monetary system. Each Bytelandian gold coin has an integer number written on it. A coin n can be exchanged in a…