• 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

C++ OOPs Part1

Convert Decimal to Roman numbers / Romanizer HackerEarth Code

Stickler thief

Subset Sum Problem Dynamic programming

Maximum difference between two elements s.t larger element appears after the smaller number

Connect n ropes with minimum cost

Fibonacci Hashing & Fastest Hashtable

DFS (Depth First Search)

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

Given a sorted array and a number x, find the pair in array whose sum is closest to x

The Magic HackerEarth Nirvana solutions Hiring Challenge

Maximum path sum between two leaves

25 horses 5 tracks Find 3 fastest puzzle

Trapping Rain Water

SAP Off Campus Hiring_ March 2015 Verbal Skills

Convert number to words java

Sort Stack in place

Generate next palindrome number

LeetCode: Container With Most Water

Password Predictor

building with N steps, we can take 1,2,3 steps calculate number of ways to reach at top of building

Printing each word reverse in string

Possible sizes of bus to carry n groups of friends

Maximum of all subarrays of size k

Adobe Interview Questions 8 month Exp

Puzzle : 100 doors in a row Visit and Toggle the door. What state the door will be after nth pass ?

Coin Collection Dynamic Programming

Memory Efficient LinkedList

Find min element in Sorted Rotated Array (Without Duplicates)

Level order traversal in Spiral form

Copyright © 2026 · Genesis Framework · WordPress · Log in