---
title: "Discussion on \"Array Flattening\" | Hashnode"
description: "Discussion on \"Array Flattening\". Frequently, we are thrown with a question where the interviewer expects us to make a nested array to a single array (in other terms, flatten an array). Although we have an existing Array method to flatten the array but sometimes they expects us to wr..."
url: "https://hashnode.com/posts/array-flattening-interview-question/631f728d526d775aa7f6626f"
---

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

Discussion

# [Array Flattening](https://blogsfromrakesh.hashnode.dev/array-flattening-interview-question?utm_source=hashnode&utm_medium=feed)

Frequently, we are thrown with a question where the interviewer expects us to make a nested array to a single array (in other terms, flatten an array). Although we have an existing Array method to flatten the array but sometimes they expects us to wr...

Sep 12, 2022 · 2 min read · blogsfromrakesh.hashnode.dev  
Read the article

-   [#array-methods](https://hashnode.com/tag/array-methods)
-   [#array-flattening](https://hashnode.com/tag/array-flattening)

## Written by

[Rakesh Kumar Shaw](https://hashnode.com/@rakeshshaw)

@rakeshshaw · Bengaluru, India

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

Senior Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
