problem link :http://www.codechef.com/SMHT2014/problems/SMHTD Thanks!!! I'd try to do a binary search on answer and check correctness in the following way: iterate an array from left to right and if you see some element a_i such that a[i] <= a[i-1], then you assign a[i]...
How to solve this problem of ICPC Online round 2019: https://www.codechef.com/ICPCIN19/problems/SHUFGRID #icpc, #grid Compare Revisions History Revisions Rev.Lang.ByWhenΔComment en1 Samarth12 2019-12-19 15:01:59 137 Initial revision (published) ...
I have been trying to solve the problem https://www.codechef.com/ZCOPRAC/problems/ZCO15001 on codechef, but I m completely failing the logics, i just couldn't make out
Discover How to Start Coding and the role and importance of coding. Learn to understand the various platforms offering opportunities to learn coding and defined job roles and salaries one can expect.
CodeChefL COMPILER ◌Leetcode: Interview Practice Leetcode: Practice Stacks Back To Top ⬆️ 3.5 Queue Similar to a Stack but with distinct characteristics, the Queue is another linear data structure. A Queue operates on the principle of First In First Out (FIFO) in its individual operati...
Solve questions to male your concepts strong. Do data structure and algorithm. Learn it very sincerely. Practise questions for the same on leetcode, codechef and give contests. Learn one development for an additional edge to your resume. Make projects. If you complete all this then you...
In the recent snackdown round A qualifier, there was a problem I could not figure out. Link:https://www.codechef.com/SNCK1A19/problems/AVGMAT From skimming the solutions and from making my own observations I have realized the following: ...
Do CodeChef usually replies for problem proposals? I didn't get any response (approved or disapproved) for both of my two problems. This is important for me so I can use those problems in other contests if they are disapproved. → Reply krismaz 7 years ago, # | +21 HackerRank hap...
And try to solve every problem within a short time as you're in competing. Whenever giving a contest, don't care about falling of your rating, your aim should be to solve as many problems as possible, it really helped me to improve my performance in the contest. Up-solving (Atleast ...
To get straight to the point. I know the basics and implementation of segment tree but I can't solve problems using it. Because I don't know its applications and advantages (Practical ones). So can anyone have a list of problems going from easy to a medium level so that I can try ...