• 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

LeetCode

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

Urban Ladder Written Test.

Client Server C program

Possible sizes of bus to carry n groups of friends

BlueStone E-commerce Interview Experience

Password Predictor

ADOBE Aptitude C Language Test

Facebook Interview Question : Interleave List

Find Pythagorean Triplets in an array in O(N)

Sort an array according to the order defined by another array

Calculate price of parking from parking start end time prices

Printing Longest Common Subsequence

Leetcode: Edit Distance

Find two non repeating elements in an array of repeating elements

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

Check a String is SUBSEQUENCE of another String Find Minimum length for that ( DNA Matching )

Get Minimum element in O(1) from input numbers or Stack

Find next greater number with same set of digits

Cisco Hiring Event 21st – 22nd Feb 2015

How Radix sort works

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

Find if a binary tree is height balanced ?

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

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

Serialise Deserialise N-ary Tree

BFS (Breath First Search)

Printing intermediate Integers between one element & next element of array

Handle duplicates in Binary Search Tree

Flipkart SDET Interview Experience

Microsoft BING Interview Experience

Convert number to words java

Copyright © 2026 · Genesis Framework · WordPress · Log in