Ayush7614 / Daily-Coding-DS-ALGO-Practice

A open source project🚀 for bringing all interview💥💥 and competative📘 programming💥💥 question under one repo📐📐
https://daily-ds-algo.github.io/DS-Algo-Website/
MIT License
322 stars 474 forks source link

Flattening a Linked List #1593

Closed 19bce502 closed 3 years ago

19bce502 commented 3 years ago

AIM Given a Linked List of size N, where every node represents a sub-linked-list and contains two pointers: (i) a next pointer to the next node, (ii) a bottom pointer to a linked list where this node is head. Each of the sub-linked-list is in sorted order. Flatten the Link List such that all the nodes appear in a single level while maintaining the sorted order. Note: The flattened list will be printed using the bottom pointer instead of next pointer.

Please Assign Me Under LGMSOC . I will be doing in C++ language

Programming language

KarthikTadala commented 3 years ago

Im preparing for my coding interviews and it would really help me if you assign this question to me Kindly assign me this I have immense intrest in coding

Aryan-Srivastava commented 3 years ago

I guess this one is already present in the GFG folder.

KarthikTadala commented 3 years ago

Kindly assign me this I have immense intersect in coding