Prateek Group interview question

DSA array easy question about finding max element?