#competitive-programming
Read more stories on Hashnode
Articles with this tag
Problem statement: Number Line Jumps You are choreographing a circus show with various animals. For one act, you are given two kangaroos on a number...
Problem statement: Cats and a mouse. Two cats and a mouse are at various positions on a line. You will be given their starting positions. Your task is...
Problem statement: Array reverse The question requires us to write a function that accepts an array as argument and returns a reverse of the...
Problem statement: Birthday Cake candles. You are in charge of the cake for a child's birthday. You have decided the cake will have one candle for...
Problem statement: Staircase. Staircase detail This is a staircase of size n=4: # ## ### #### Its base and height are both equal to n. It is drawn...
Problem statement: Counting valleys. An avid hiker keeps meticulous records of their hikes. During the last hike that took exactly steps steps, for...