UST Interview Question

How to avoid trigger recursion?