https://medium.com/@sarthak.joshi.94/apex-triggers-interview-questions-problem-12-programmers-io-ff6084d91367