Problems from The Tough Winter Spar, 2018

These problems are from a contest organized by Furqan Software on December 20, 2018 at 12:00 PM UTC See details...

Standings
A. Itachi's Challenge
Sasuke is a 12-year old ninja who is very much interested in learning Ninjutsu (A tactic used by nin...
B. Set, Intersection and Range
You are given N sets of integers (S[1] , S[2] , S[3] , ... , S[N]) and Q queries. Each query has 4 i...
C. Pias and His Infinite String
Pias makes a string P by choosing some distinct lowercase letters. Then he makes another string Q by...
D. Value Assignment Problem 2
You will be given a Tree and an array D. You will have to assign values in each node in the tree (sa...
E. Just Another Range Query
This is another simple range query problem where you will perform some updates and answer some queri...
F. Bangladesh Has Got Talent
In music, there are 12 notes. In sequence, they are A, A#, B, C, C#, D, D#, E, F, F#, G, G# . Every ...
G. Repeating Units
A number is called repunit (Repeating Units) if the number is made of only 1’s, uch as 1,11 or 11111...
H. LIAS 2
You will be given an array and an integer K. You have to find the longest increasing sub-sequence fr...
I. Nested Palindromes
You will be given the length of a string N and the size of the character set allowed for the string ...
J. Datta's Dilemma
Datta, the famous sport programmer and gamer emerging from the southern part of Bangladesh is in dil...
Toph uses cookies. By continuing you agree to our Cookie Policy.