Any simple DSA question can be asked to perform from dry code to implementable function.
Utilisateur anonyme
Answer started with a brute force approach, which was asked to be optimised, hence reaching to the best approach. Including with quick rapid fires about the basics about any technique being used, which eventually corresponds to the understanding build by the Interviewee.