• 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

Trapping Rain Water

Find the element that appears once others appears thrice

Find the kth number with prime factors 3, 5 and 7

25 horses 5 tracks Find 3 fastest puzzle

Adobe Interview Questions 8 month Exp

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

Find Pythagorean Triplets in an array in O(N)

Flipkart SDET Interview Experience

N Petrol bunks or City arranged in circle. You have Fuel and distance between petrol bunks. Is it possible to find starting point so that we can travel all Petrol Bunks

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

Urban Ladder Written Test.

Common Ancestor in a Binary Tree or Binary Search Tree

SAP Off Campus Hiring_ March 2015 Analytical Aptitude

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

Binary Tree in Java

Leetcode: Edit Distance

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

1014 Practice Question of New GRE – Princeton

Implement LRU Cache

Reverse a Linked List in groups of given size

SAP Interview Questions

Skiing on Mountains Matrix

Difference between a LinkedList and a Binary Search Tree BST

Print Power Set of a Set

Maximum of all subarrays of size k

Number of Islands BFS/DFS

Find position of the only set bit

Find loop in Singly linked list

LeetCode: Container With Most Water

Find if a binary tree is height balanced ?

Copyright © 2026 · Genesis Framework · WordPress · Log in