Support Sages interview question

based on my previous projects