---
title: "Discussion on \"Merge Sorted Array - LeetCode\" | Hashnode"
description: "Discussion on \"Merge Sorted Array - LeetCode\". The problem is taken from  88. Merge Sorted Array.\nNaive approach\nIn this approach, we use a HashMap(Integer, Integer), where the first place would hold numbers in the array and second place would hold their occurrences. \nCode -  \nclass Solution {\npu..."
url: "https://hashnode.com/posts/merge-sorted-array-leetcode/61ac4989b6bca85a26d3db6d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Merge Sorted Array - LeetCode](https://suraj26.hashnode.dev/merge-sorted-array-leetcode?utm_source=hashnode&utm_medium=feed)

The problem is taken from 88. Merge Sorted Array. Naive approach In this approach, we use a HashMap(Integer, Integer), where the first place would hold numbers in the array and second place would hold their occurrences. Code - class Solution { pu...

Dec 5, 2021 · 2 min read · suraj26.hashnode.dev  
Read the article

-   [#problem-solving-skills](https://hashnode.com/tag/problem-solving-skills)
-   [#interview](https://hashnode.com/tag/interview)
-   [#technical-writing-1](https://hashnode.com/tag/technical-writing-1)

## Written by

[Suraj Yadav](https://hashnode.com/@Suraj26)

@Suraj26

  
[View profile](https://hashnode.com/@Suraj26)

Crawling in the world of Computer Science.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
