• 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

Microsoft BING Interview Experience

Find two non repeating elements in an array of repeating elements

CodeChef Code SGARDEN

Fibonacci Hashing & Fastest Hashtable

Stickler thief

Possible sizes of bus to carry n groups of friends

25 horses 5 tracks Find 3 fastest puzzle

Test Cases for Round Function

Adobe Interview Questions 8 month Exp

Generate next palindrome number

Diagonal Traversal of Binary Tree

Generic Object Oriented Stack with Template

Find the number ABCD such that when multipled by 4 gives DCBA.

Hackerearth : Counting Subarrays

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

Leetcode: Edit Distance

Trie Dictionary

Find position of the only set bit

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

Convert Decimal to Roman numbers / Romanizer HackerEarth Code

Python Dictionaries

BFS (Breath First Search)

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

Singly linked list

Find and print longest consecutive number sequence in a given sequence in O(n)

Apriori algorithm C Code Data Mining

Implement LRU Cache

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

Closed Parentheses checker

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

Copyright © 2026 · Genesis Framework · WordPress · Log in