TikTok Interview Question

Print an array using 2 different threads