• 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

Singly linked list

Templates in C++

Skiing on Mountains Matrix

Sort an array according to the order defined by another array

Given a string, find the first character which is non-repetitive

Possible sizes of bus to carry n groups of friends

Find loop in Singly linked list

Right view of Binary tree

Subset Sum Problem Dynamic programming

Leetcode: Edit Distance

Add Sub Multiply very large number stored as string

Reversal of LinkedList

System Design: Designing a LLD for Hotel Booking

SAP Off Campus Hiring_ March 2015 Sample Questions

Check if an array has duplicate numbers in O(n) time and O(1) space

Amazon Interview On-Campus For Internship – 1

Password Predictor

Calculate price of parking from parking start end time prices

Word Break Problem

Coin Collection Dynamic Programming

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

Hackerearth : Counting Subarrays

Maximum sum contiguous subarray of an Array

Printing intermediate Integers between one element & next element of array

Find the element that appears once others appears thrice

Maximum of all subarrays of size k

Memory Efficient LinkedList

Reliance Jio Software Developer Interview Experience

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

Binary Tree Isomorphic to each other

Copyright © 2025 · Genesis Framework · WordPress · Log in