exactly
1st point : setter himself solving
2nd point : Even setter cannot solve the last one in one goâŚlol
Same thought
Thats because the problem has been copied from hackerearth and the editorial has a O(n^2) solution lolđ
really?
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 ?
NO
nope
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)
@admin @sonichigo
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:
https://www.hackerrank.com/challenges/lilys-homework/problem
EDIT: His own COPIED problems