Pergunta de entrevista da empresa ServiceNow

1. Check if a linked list has a cycle. 2. Check if two rectangles overlap.