https://medium.com/@sarthak.joshi.94/apex-triggers-interview-questions-problem-14-persistent-systems-254790bf3b33