• 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

Templates in C++

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

Facebook Interview Question : Interleave List

Python Array String

Subset Sum Problem Dynamic programming

SAP Off Campus Hiring_ March 2015 Computer Skills

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

Check a String is SUBSEQUENCE of another String Find Minimum length for that ( DNA Matching )

How Radix sort works

Client Server C program

N teams are participating. each team plays twice with all other teams. Some of them will go to the semi final. Find Minimum and Maximum number of matches that a team has to win to qualify for finals ?

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

Number of Islands BFS/DFS

VMWare Openings

Find the number ABCD such that when multipled by 4 gives DCBA.

SAP Off Campus Hiring_ March 2015 Verbal Skills

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

Amazon Interview On-Campus For Internship – 1

Knight Tour Problem (Graph – Breadth First Search)

Check Binary Tree is Binary Search Tree or not

Leetcode: Merge Intervals

Add Sub Multiply very large number stored as string

Amazon Interview Experience – SDE Chennai

Hackerearth : Counting Subarrays

TicTacToe Game As Asked in Flipkart

CodeChef Code SGARDEN

How strtok() Works

C++ OOPs Part1

Flipkart SDET Interview Experience

FizzBuzz Solution C C++

Copyright © 2026 · Genesis Framework · WordPress · Log in