• 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

Code Chef PRGIFT Solution

Find two non repeating elements in an array of repeating elements

CodeChef Code SGARDEN

Find the element that appears once others appears thrice

Binary Tree in Java

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

Longest Increasing Subsequence

Max Sum in circularly situated Values

Minimum insertions to form a palindrome

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

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

Sort Stack in place

Sort an array according to the order defined by another array

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

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

System Design: Designing a LLD for Hotel Booking

Apriori algorithm C Code Data Mining

Introduction To Number Theory ( Part 1 )

Doubly linked list

Regular Expression Matching

Facebook Interview Question : Interleave List

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

VMWare Openings

simple sql injection

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

Inorder and Preorder traversals of a Binary Tree given. Output the Postorder traversal of it.

Fibonacci Hashing & Fastest Hashtable

Find loop in Singly linked list

Singly linked list

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

Copyright © 2026 · Genesis Framework · WordPress · Log in