Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • DSA
  • Practice Problems
  • Python
  • C
  • C++
  • Java
  • Courses
  • Machine Learning
  • DevOps
  • Web Development
  • System Design
  • Aptitude
  • Projects
Similar Topics
DSA
22.3k+ articles
Java
10.4k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
C++
4.1k+ articles
Sorting
1.7k+ articles
Recursion
1k+ articles
Heap
260+ articles
Divide and Conquer
260+ articles
Merge Sort
90+ articles

array-merge

24 posts
Merge Sort Based Practice Problems
Last Updated: 15 November 2024
Problems Based on Merge of Merge SortMerge Two Sorted ArraysMerge Two Sorted Arrays with O(1) SpaceUnion of Two Sorted ArraysIntersection of ...read more
Arrays
Sorting
Merge Sort
array-merge
DSA
Intersection of Two Sorted Arrays
Last Updated: 11 October 2024
Given two sorted arrays a[] and b[], the task is to return intersection. Intersection of two arrays is said to be elements that are common i...read more
image
Arrays
Searching
Merge Sort
array-merge
DSA
union-intersection
In-Place Merge Sort | Set 2
Last Updated: 27 December 2023
Given an array A[] of size N, the task is to sort the array in increasing order using In-Place Merge Sort.Examples:Input: A = {5, 6, 3, 2, 1 ...read more
Arrays
Sorting
Merge Sort
Recursion
array-merge
DSA
Similar Topics
DSA
22.3k+ articles
Java
10.4k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
C++
4.1k+ articles
Sorting
1.7k+ articles
Recursion
1k+ articles
Heap
260+ articles
Divide and Conquer
260+ articles
Merge Sort
90+ articles
Merge transactions in bank sheets in the order of their occurrence such that their sum remains positive
Last Updated: 21 February 2023
Given an array arr[][] consisting of N lists representing N transactions, the task is to merge the given lists of transactions in the order ...read more
Linked List
Google
Sorting
Heap
interview-preparation
priority-queue
array-merge
DSA
Count of larger elements on right side of each element in an array
Last Updated: 08 September 2023
Given an array arr[] consisting of N integers, the task is to count the number of greater elements on the right side of each array element.E ...read more
Arrays
Divide and Conquer
Sorting
Merge Sort
array-merge
DSA
Count swaps required to sort an array using Insertion Sort
Last Updated: 03 September 2024
Given an array A[] of size N (1 ≤ N ≤ 105), the task is to calculate the number of swaps required to sort the array using insertion sort ...read more
Arrays
Sorting
Technical Scripter
Competitive Programming
subarray
Recursion
array-merge
Technical Scripter 2020
DSA
Merge two sorted arrays in O(1) extra space using QuickSort partition
Last Updated: 02 December 2022
Given two sorted arrays, arr[], brr[] of size N, and M, the task is to merge the two given arrays such that they form a sorted sequence of i ...read more
Arrays
Amazon
Goldman Sachs
Snapdeal
Linkedin
Brocade
Juniper Networks
Divide and Conquer
Sorting
Mathematical
Amdocs
Quick Sort
C++ Programs
array-merge
partition
DSA
In-Place Merge Sort
Last Updated: 22 February 2023
Implement Merge Sort i.e. standard implementation keeping the sorting algorithm as in-place.In-place means it does not occupy extra memory f ...read more
Sorting
Merge Sort
array-merge
DSA
Number of ways to merge two arrays such retaining order
Last Updated: 17 January 2023
Given two array of size n and m. The task is to find the number of ways we can merge the given arrays into one array such that order of elem ...read more
Arrays
Combinatorial
array-merge
DSA
Sorted merge in one array
Last Updated: 24 November 2022
Given two sorted arrays, A and B, where A has a large enough buffer at the end to hold B.Merge B into A in sorted order.Examples:Input : a[] ...read more
Arrays
Misc
Merge Sort
array-merge
DSA
Merge 3 Sorted Arrays
Last Updated: 19 July 2024
Given 3 arrays A[], B[], and C[] that are sorted in ascending order, the task is to merge them together in ascending order and output the ar ...read more
Arrays
Sorting
array-merge
DSA
Merge two sorted arrays in Python using heapq
Last Updated: 04 March 2023
Given two sorted arrays, the task is to merge them in a sorted manner. Examples:Input : arr1 = [1, 3, 4, 5] arr2 = [2, 4, 6, 8]Ou ...read more
Arrays
Heap
Python
array-merge
DSA
merge() in C++ STL
Last Updated: 14 September 2022
C++ offers in its STL library a merge() which is quite useful to merge sort two containers into a single container. It is defined in header ...read more
STL
C++
cpp-algorithm-library
array-merge
Java program to merge two files alternatively into third file
Last Updated: 30 May 2018
Prerequisite : PrintWriter , BufferedReaderLet the given two files be file1.txt and file2.txt. Our Task is to merge both files into third ...read more
Java
Java-I/O
java-file-handling
array-merge
Merge two sorted arrays
Last Updated: 28 February 2025
Given two sorted arrays, the task is to merge them in a sorted manner.Examples:Input: arr1[] = { 1, 3, 4, 5}, arr2[] = {2, 4, 6, 8}Output: a...read more
image
Sorting
array-merge
DSA
1 2 >>
Last
1 2 >>
Last
1 2 >>
Last
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox