https://medium.com/@sarthak.joshi.94/apex-triggers-interview-questions-problem-9-persistent-systems-f9617b834291