---
title: "Discussion on \"LeetCode Daily (2nd Jan 2024) \nConvert an Array Into a 2D Array With Conditions\" | Hashnode"
description: "Discussion on \"LeetCode Daily (2nd Jan 2024) \nConvert an Array Into a 2D Array With Conditions\". Problem Statement\nYou are given an integer array nums. The goal is to create a 2D array from nums with the following conditions:\n\nThe 2D array should contain only the elements of the array nums.\n\nEach row in the 2D array must contain distinct integer..."
url: "https://hashnode.com/posts/leetcode-daily-2nd-jan-2024-convert-an-array-into-a-2d-array-with-conditions/65940519f58676422323e0e6"
---

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

Discussion

# [LeetCode Daily (2nd Jan 2024) Convert an Array Into a 2D Array With Conditions](https://nitant.hashnode.dev/leetcode-daily-2nd-jan-2024-convert-an-array-into-a-2d-array-with-conditions?utm_source=hashnode&utm_medium=feed)

Problem Statement You are given an integer array nums. The goal is to create a 2D array from nums with the following conditions: The 2D array should contain only the elements of the array nums. Each row in the 2D array must contain distinct integer...

Jan 2, 2024 · 2 min read · nitant.hashnode.dev  
Read the article

-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#leetcode-solution](https://hashnode.com/tag/leetcode-solution)
-   [#leetcodedaily](https://hashnode.com/tag/leetcodedaily)
-   [#array](https://hashnode.com/tag/array)
-   [#arrays](https://hashnode.com/tag/arrays)

## Written by

[Nitant Makwana](https://hashnode.com/@nitant)

@nitant · Gujarat , India.

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

Full Stack Web and App Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
