Dreamoon and WiFi
This post is in reference to CodeForces Dreamoon and WiFi. We must move to a given position in the given number of moves; each move is either to the left or right. How many distinct paths are there?...
View ArticleTable Decorations
This post is in reference to CodeForces Table Decorations. You have 3 piles — of size A B & C — and you can take a triplet from them as long as you take from more than one. So what is the maximum...
View ArticleLong Jumps
This post is in reference to CodeForces Long Jumps. You have a ruler of length with various distances marked off. Any distances between two markings/endpoints can be measured exactly. You are given two...
View ArticleStadium and Games
This post is in reference to CodeForces Stadium and Games. Let’s look at a subset of inputs, and see what shakes out. N.B. From problem description – Phase 1: total of halves removed – Phase 2 input:...
View ArticlePalindrome
This post is in reference to CodeForces Palindrome. The question is: given a string, can you find the longest palindrome sub-sequence? N.B. A sub-sequence of a string is what remains after removing any...
View Article
More Pages to Explore .....