• 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

strtok()

Length of the longest substring without repeating characters

Find min element in Sorted Rotated Array (Without Duplicates)

Cisco Hiring Event 21st – 22nd Feb 2015

Maximum path sum between two leaves

Top 10 Interviews Techniqes for Campus Interview in IIT NIT BITS for MTech

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 ?

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

Practo Hiring Experience

LeetCode: Binary Tree Maximum Path Sum

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

Maximum occurred Smallest integer in n ranges

Count number of ways to reach a given score in a game

C++ OOPs Part1

Singly linked list

BFS (Breath First Search)

Printing Longest Common Subsequence

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

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

Reverse a Linked List in groups of given size

write a c program that given a set a of n numbers and another number x determines whether or not there exist two elements in s whose sum is exactly x

TicTacToe Game As Asked in Flipkart

Hackerearth : Counting Subarrays

How Radix sort works

Edit Distance ( Dynamic Programming )

CodeChef’ RRCOPY

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

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

Trie Dictionary

LeetCode: Container With Most Water

Copyright © 2026 · Genesis Framework · WordPress · Log in