1st point : setter himself solving
2nd point : Even setter cannot solve the last one in one go…lol
Thats because the problem has been copied from hackerearth and the editorial has a O(n^2) solution lol😂
Yeah bro. Even last problem has been copied from hackerrank. For your doubt.
Beautiful array doesn’t mean minimum sorted. An array is beautiful if the sum of |arr[i]-arr[i-1]| among 0<i<n is minimal.
They eliminated few words from the statement to make it look difficult😂
is this contest rated ?
The problems are copied.
Chef and Ice Cream: Check for pair… (GFG)
Chef and Loss: Minimum Loss (Hackerrank)
Chef and Power: Count ways… (GFG)
Chef and Missing Numbers: Find elements… (GFG)
Chef and Girlfriend: Lily’s Homework (Hackerrank)
Problem statements are really bad. The author did not succeed in adapting the problem copies from hackerranck or hackerearth.
Even example or input aren’t flawless .
And even having wrong answers for his own problems. XD.
This is what happens when you let a 2 star newbie set the problems.
Most of the problem is copied. This question is from HackeRank. The problem is named “Lily’s Homework”. The link is below:
EDIT: His own COPIED problems
*all of them are copied. See @marksman 's comment