• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to secondary sidebar

GoHired

Interview Questions asked in Google, Microsoft, Amazon

Join WeekEnd Online Batch from 4-April-2020 on How to Crack Coding Interview in Just 10 Weeks : Fees just 20,000 INR

  • Home
  • Best Java Books
  • Algorithm
  • Internship
  • Certificates
  • About Us
  • Contact Us
  • Privacy Policy
  • Array
  • Stack
  • Queue
  • LinkedList
  • DP
  • Strings
  • Tree
  • Mathametical
  • Puzzles
  • Graph

Merge Sort

flattens 2 D linked list to a single sorted link list

March 27, 2014 by Dhaval Dave

Write a function flatten() which flattens this linked list with each node down sorted link list to a single link list with all the elements in sorted order.

We have given Two methods in O(n^2)

… Read More

Filed Under: Amazon Interview Question, Flipkart Interview Questions, Microsoft Interview Questions, problem Tagged With: Linked List, Merge Sort

Primary Sidebar

Join WeekEnd Online/Offline Batch from 4-April-2020 on How to Crack Coding Interview in Just 10 Weeks : Fees just 20,000 INR

Join WeekEnd Online/Offline Batch from 4-April-2020

WhatsApp us

Secondary Sidebar

Custom Search

  • How I cracked AMAZON
  • LeetCode
  • Adobe
  • Amazon
  • Facebook
  • Microsoft
  • Hacker Earth
  • CSE Interview

Top Rated Questions

Coin Collection Dynamic Programming

Find the number ABCD such that when multipled by 4 gives DCBA.

Get Minimum element in O(1) from input numbers or Stack

Walmart Labs Interview Experience

Search element in a matrix with all rows and columns in sorted order

There are N nuts and N bolts, u have to find all the pairs of nuts and bolts in minimum no. of iteration

SAP Off Campus Hiring_ March 2015 Computer Skills

SAP Off Campus Hiring_ March 2015 Verbal Skills

Interfaces in C++ (Abstract Classes in C++)

Inorder and Preorder traversals of a Binary Tree given. Output the Postorder traversal of it.

SAP Off Campus Hiring_ March 2015 Sample Questions

Find if a binary tree is height balanced ?

Flipkart SDET Interview Experience

Sort an array according to the order defined by another array

SAP Interview Questions

robot standing at first cell of an M*N matrix. It can move only in two directions, right and down. In how many ways, it can reach to the last cell i.e. (M, N) Code it

The Magic HackerEarth Nirvana solutions Hiring Challenge

Hackerearth : Counting Subarrays

Difference between a LinkedList and a Binary Search Tree BST

Flipkart Set 1 On Campus with Answers

C++ OOPs Part1

Find the element that appears once others appears thrice

Find if two rectangles overlap

N teams are participating. each team plays twice with all other teams. Some of them will go to the semi final. Find Minimum and Maximum number of matches that a team has to win to qualify for finals ?

Possible sizes of bus to carry n groups of friends

Maximum of all subarrays of size k

C Program for TAIL command of UNIX

Memory Efficient LinkedList

Regular Expression Matching

Advanced SQL Injection

Copyright © 2025 · Genesis Framework · WordPress · Log in