• 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

Sort an array according to the order defined by another array

Closed Parentheses checker

Find Pythagorean Triplets in an array in O(N)

Printing intermediate Integers between one element & next element of array

Python Dictionaries

Find if two rectangles overlap

SAP Interview Questions

Maximum occurred Smallest integer in n ranges

25 horses 5 tracks Find 3 fastest puzzle

Get K Max and Delete K Max in stream of incoming integers

VMWare Openings

C++ OOPs Part1

Naurki.com Security Breach

Generic Object Oriented Stack with Template

Binary Tree in Java

Find next greater number with same set of digits

Find min element in Sorted Rotated Array (Without Duplicates)

Walmart Labs Interview Experience

The Magic HackerEarth Nirvana solutions Hiring Challenge

Urban Ladder Written Test.

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

Find min element in Sorted Rotated Array (With Duplicates)

Knight Tour Problem (Graph – Breadth First Search)

CodeChef Code SGARDEN

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

Coin Collection Dynamic Programming

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

Trie Dictionary

C++ OOPs Part2

SAP Off Campus Hiring_ March 2015 Computer Skills

Copyright © 2025 · Genesis Framework · WordPress · Log in