NEED HELP IN "GFG SPECIAL 21"

What algo or approach is used in this?

1 Like