Cerinta completa You and your friend decide to play a game using a stack consisting of N bricks. In this game, you can alternatively remove 1, 2 or 3 bricks from the top, and the numbers etched on the removed
Brick Tiling
Cerinta completa You are given a grid having N rows and M columns. A grid square can either be blocked or empty. Blocked squares are represented by a ‘#’ and empty squares are represented by ‘.’. Find the number of
Breaking the Records
Cerinta completa Maria plays college basketball and wants to go pro. Each season she maintains a record of her play. She tabulates the number of times she breaks her season record for most points and least points in a game.
Breadth First Search: Shortest Reach
Cerinta completa Consider an undirected graph where each edge weighs 6 units. Each of the nodes is labeled consecutively from 1 to n. You will be given a number of queries. For each query, you will be given a list
Bowling Pins
Cerinta completa Bowling is a sport in which a player rolls a bowling ball towards a group of pins, the target being to knock down the pins at the end of a lane. In this challenge, the rules of the
Bonetrousle
Cerinta completa Here’s a humerus joke: Why did Papyrus the skeleton go to the store by himself? Because he had no body to go with him! Did you like it? Don’t worry, I’ve got a ton more. A skele-ton. Once
Bob and Ben
Cerinta completa Bob and Ben are playing a game with forests! The game’s rules are as follows: The game starts with a forest of trees. Bob always moves first and they take alternating turns. The first player with no available
Black and White Tree
Cerinta completa Nikita is making a graph as a birthday gift for her boyfriend, a fellow programmer! She drew an undirected connected graph with nodes numbered from to in her notebook. Each node is shaded in either white or black.
Birthday Cake Candles
Cerinta completa You are in charge of the cake for a child’s birthday. It will have one candle for each year of their total age. They will only be able to blow out the tallest of the candles. Your task
Billboards
Cerinta completa ADZEN is a popular advertising firm in your city that owns all billboard locations on Main street. The city council passed a new zoning ordinance mandating that no more than consecutive billboards may be up at any given
