• 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

MergeIntervals

Leetcode: Merge Intervals

January 18, 2020 by Arshdeep Singh

Given a collection of intervals, merge all overlapping intervals.

Example 1:
Input: [[2,6],[8,10],[15,18], [1,3]]
Output: [ [1,6] , [8,10] , [15,18] ]
Explanation: Since intervals [1,3] and [2,6] overlaps, merge them into [1,6].

Example
Solution
… Read More

Filed Under: Amazon Interview Question, Flipkart Interview Questions, Google, Interview Questions, LeetCode Tagged With: Array, LeetCode, MergeIntervals

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

Rectangular chocolate bar Create at least one piece which consists of exactly nTiles tiles

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

SAP Interview Questions

Templates in C++

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

‘N’ Story Building, with 1,2,3 steps how many ways can a person reach top of building.

Practo Hiring Experience

N Petrol bunks or City arranged in circle. You have Fuel and distance between petrol bunks. Is it possible to find starting point so that we can travel all Petrol Bunks

Find if a binary tree is height balanced ?

Test Cases for Round Function

Search element in a matrix with all rows and columns in sorted order

LeetCode : Word Search

FizzBuzz Solution C C++

Maximum sum contiguous subarray of an Array

Hackerearth : Counting Subarrays

BFS (Breath First Search)

Edit Distance ( Dynamic Programming )

C Program for TAIL command of UNIX

Right view of Binary tree

Skiing on Mountains Matrix

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

Sort an array according to the order defined by another array

Possible sizes of bus to carry n groups of friends

Find min element in Sorted Rotated Array (Without Duplicates)

Convert number to words java

Python Dictionaries

How Radix sort works

Maximum size of square sub matrix with all 1’s in a binary matrix

Level order traversal in Spiral form

LeetCode: Container With Most Water

Copyright © 2026 · Genesis Framework · WordPress · Log in