Technical Team Lead Interview Questions

8,236 technical team lead interview questions shared by candidates

First tech interview question: Given the array, build a tree as follows: [ {"process_name":"a.exe", "pid":420, "parent_pid":428}, {"process_name":"c.exe", "pid":428, "parent_pid":None}, {"process_name":"d.exe", "pid":551, "parent_pid":420}, {"process_name":"e.exe", "pid":552, "parent_pid":428}, {"process_name":"f.exe", "pid":553, "parent_pid":None}, {"process_name":"g.exe", "pid": 4, "parent_pid":553}, {"process_name":"b.exe", "pid": 7, "parent_pid": 4}, {"process_name":"h.exe", "pid": 11, "parent_pid": 7}, {"process_name":"j.exe", "pid":666, "parent_pid":428} ] The program should output the following: c.exe ---- a.exe -------- d.exe ---- e.exe ---- j.exe f.exe ---- g.exe -------- b.exe ------------ h.exe
avatar

SW Engineering Team Lead

Interviewed at Palo Alto Networks

3.7
Dec 24, 2023

First tech interview question: Given the array, build a tree as follows: [ {"process_name":"a.exe", "pid":420, "parent_pid":428}, {"process_name":"c.exe", "pid":428, "parent_pid":None}, {"process_name":"d.exe", "pid":551, "parent_pid":420}, {"process_name":"e.exe", "pid":552, "parent_pid":428}, {"process_name":"f.exe", "pid":553, "parent_pid":None}, {"process_name":"g.exe", "pid": 4, "parent_pid":553}, {"process_name":"b.exe", "pid": 7, "parent_pid": 4}, {"process_name":"h.exe", "pid": 11, "parent_pid": 7}, {"process_name":"j.exe", "pid":666, "parent_pid":428} ] The program should output the following: c.exe ---- a.exe -------- d.exe ---- e.exe ---- j.exe f.exe ---- g.exe -------- b.exe ------------ h.exe

Viewing 6391 - 6400 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 8,236 interview questions and reports from Technical team lead interviews. Prepare for your interview. Get hired. Love your job.