Software Engineer Interview Questions

466,396 software engineer interview questions shared by candidates

Assume that you are given the head and tail pointers of a doubly linked list where each node can also have a single child pointer to another similar doubly linked list. There are no cycles in this structure outside of the traditional double links. Write a procedure in C++ that flattens this structure into a single list.

Assume that you are given the head and tail pointers of a doubly linked list where each node can also have a single child pointer to another similar doubly linked list. There are no cycles in this structure outside of the traditional double links. Write a procedure in C++ that flattens this structure into a single list.

Viewing 241 - 250 interview questions

Glassdoor has 466,396 interview questions and reports from Software engineer interviews. Prepare for your interview. Get hired. Love your job.