Flatten a Multilevel Doubly Linked List at Bloomberg

Medium62.5% acceptance

This problem has 75.0% frequency at Bloomberg.

Problem Description

You are given a doubly linked list, which contains nodes that have a next pointer, a previous pointer, and an additional **child pointer**. This child pointer may or may not point to a separate doubly linked list, also containing these special nodes. These child lists may have one or more children o...

Read full problem and hints

Topics

Also asked at 5 companies


More Bloomberg Questions

View all Bloomberg questions