Sw Engineer Interview Questions

540 sw engineer 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 401 - 410 interview questions

Glassdoor has 540 interview questions and reports from Sw engineer interviews. Prepare for your interview. Get hired. Love your job.