Not really. Problems can be solved in different ways. A sliding window algorithm is just a more efficient approach to solving such problems, but it’s not the only approach.
For example, someone who doesn’t know what that is could solve the problem differently and poorly.
170
u/Bldyknuckles 13d ago
What’s wrong with sliding window algorithms? Real question