• 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

SAP Off Campus Hiring_ March 2015 Analytical Aptitude

C Program for TAIL command of UNIX

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

simple sql injection

Find min element in Sorted Rotated Array (Without Duplicates)

Given a string, find the first character which is non-repetitive

Find if a binary tree is height balanced ?

Find the element that appears once others appears thrice

BlueStone E-commerce Interview Experience

In Given LinkedList Divide LL in N Sub parts and delete first K nodes of each part

VMWare Openings

Count Possible Decodings of a given Digit Sequence

Connect n ropes with minimum cost

DFS (Depth First Search)

ADOBE Aptitude C Language Test

Find shortest distances between every pair of vertices ( Dynamic Programming Floyd Warshall Algorithm)

Count number of ways to reach a given score in a game

Maximum size of square sub matrix with all 1’s in a binary matrix

Serialise Deserialise N-ary Tree

Printing each word reverse in string

Knight Tour Problem (Graph – Breadth First Search)

C++ OOPs Part2

How strtok() Works

Fibonacci Hashing & Fastest Hashtable

Trapping Rain Water

The Magic HackerEarth Nirvana solutions Hiring Challenge

SAP Off Campus Hiring_ March 2015 Verbal Skills

Leetcode: Edit Distance

Singly linked list

Difference between a LinkedList and a Binary Search Tree BST

Copyright © 2026 · Genesis Framework · WordPress · Log in