• 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

Python List

Coin Collection Dynamic Programming

Max Sum in circularly situated Values

Given array of 0’s and 1’s. All 0’s are coming first followed by 1’s. find the position of first 1

SAP Interview Questions

Templates in C++

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

TicTacToe Game As Asked in Flipkart

VMWare Openings

Stock Buy Sell to Maximize Profit

CodeChef’ RRCOPY

Singly linked list

Stickler thief

Mirror of Tree

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

Generate largest number arranging a no. of given non negative integer numbers

Introduction To Number Theory ( Part 1 )

Given a float number convert it into the string WITHOUT using any inbuilt Function

Circular Linked List

Trie Dictionary

Find an index i such that Arr [i] = i in array of n distinct integers sorted in ascending order.

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

Closed Parentheses checker

Python Dictionaries

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

Find position of the only set bit

Convert Decimal to Roman numbers / Romanizer HackerEarth Code

Diagonal Traversal of Binary Tree

Python String and numbers

Wrong Directions given find minimum moves so that he can reach to the destination

Copyright © 2026 · Genesis Framework · WordPress · Log in