https://medium.com/@sarthak.joshi.94/apex-triggers-interview-questions-problem-6-techaim-42f13330a525