Cerinta completa The travelling salesman has a map containing m*n squares. He starts from the top left corner and visits every cell exactly once and returns to his initial position (top left). The time taken for the salesman to move
Balanced Brackets
Cerinta completa A bracket is considered to be any one of the following characters: (, ), {, }, [, or ]. Two brackets are considered to be a matched pair if the an opening bracket (i.e., (, [, or {)
Two Two
Cerinta completa Prof. Twotwo as the name suggests is very fond powers of 2. Moreover he also has special affinity to number 800. He is known for carrying quirky experiments on powers of 2. One day he played a game
Cube Summation
Cerinta completa Chinese Version Russian Version Define a 3-D Matrix in which each block contains 0 initially. The first block is defined by the coordinates (1,1,1) and the last block is defined by the coordinates (n,n,n). There are two types
Two Robots
Cerinta completa You have a warehouse with containers filled with an infinite number of candies. The containers are arranged in a single row, equally spaced to be meter apart. You also have robots that can pick up piece of candy
Almost sorted interval
Cerinta completa Shik loves sorted intervals. But currently he does not have enough time to sort all the numbers. So he decided to use Almost sorted intervals. An Almost sorted interval is a consecutive subsequence in a sequence which satisfies
Contacts
Cerinta completa We’re going to make our own Contacts application! The application must perform two types of operations: add name, where is a string denoting a contact name. This must store as a new contact in the application. find partial,
Tower Breakers, Revisited!
Cerinta completa Two players (numbered and ) are playing a game of Tower Breakers! The rules of the game are as follows: Player always moves first, and both players always move optimally. Initially there are towers of various heights. The
Travel in HackerLand
Cerinta completa HackerLand is a country with beautiful cities and undirected roads. Like every other beautiful country, HackerLand has traffic jams. Each road has a crowd value. The crowd value of a path is defined as the maximum crowd value
Zero-Move Nim
Cerinta completa Nim is a famous game in which two players take turns removing items from distinct piles. During each turn, a player must remove one or more items from a single, non-empty pile. The winner of the game is
