Altimetrik interview question

Write a trigger or lwc component