Similar to the STAR model (Situation, Task, Action, Result) — a technique to respond to a question in an interview- this guide is used to answer a coding question in a technical interview. It is vitally important to strictly follow a set of guidelines to answer an interview question because…