• 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

Knight Tour Problem (Graph – Breadth First Search)

SAP Interview Questions

Implement a generic binary search algorithm for Integer Double String etc

LeetCode: Container With Most Water

The Magic HackerEarth Nirvana solutions Hiring Challenge

Reverse a Linked List in groups of given size

Maximum occurred Smallest integer in n ranges

K’th Largest Element in BST when modification to BST is not allowed

CodeChef Code SGARDEN

Sort Stack in place

Find the smallest window in a string containing all characters of another string

SAP Off Campus Hiring_ March 2015 Sample Questions

How strtok() Works

Closed Parentheses checker

Top 10 Interviews Techniqes for Campus Interview in IIT NIT BITS for MTech

Introduction To Number Theory ( Part 1 )

Maximum sum contiguous subarray of an Array

Given Set of words or A String find whether chain is possible from these words or not

Find loop in Singly linked list

Difference between a LinkedList and a Binary Search Tree BST

Find Nearest Minimum number in left side in O(n)

SAP Off Campus Hiring_ March 2015 Verbal Skills

‘N’ Story Building, with 1,2,3 steps how many ways can a person reach top of building.

Print vertical sum of all the axis in the given binary tree

BFS (Breath First Search)

Cisco Hiring Event 21st – 22nd Feb 2015

Printing intermediate Integers between one element & next element of array

LeetCode: Binary Tree Maximum Path Sum

Generic Object Oriented Stack with Template

Apriori algorithm C Code Data Mining

Copyright © 2026 · Genesis Framework · WordPress · Log in