SapphireIMS interview question

on threads, triangles, loops, string