Google interview question

longest suarray with first value greater than the last value

Interview Answer

Anonymous

28 Aug 2024

using 2 for loops, but they obviously asked to optimize it further.