I have seen several solutions of July Challenge 13 CHEFRECT. In every solution what people have done is checked for the edge cases and then gave the general answer as (k+1)/2. Could anyone explain how this works?
↧
I have seen several solutions of July Challenge 13 CHEFRECT. In every solution what people have done is checked for the edge cases and then gave the general answer as (k+1)/2. Could anyone explain how this works?