---
title: "Discussion on \"How to remove the key and return the new length of the array without using extra space ?\" | Hashnode"
description: "Discussion on \"How to remove the key and return the new length of the array without using extra space ?\". Two-pointer method"
url: "https://hashnode.com/posts/how-to-remove-the-key-and-return-the-new-length-of-the-array-without-using-extra-space/612149b1e404793819ca9e1e"
---

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

Discussion

# [How to remove the key and return the new length of the array without using extra space ?](https://blog.iamvarshith.dev/how-to-remove-the-key-and-return-the-new-length-of-the-array-without-using-extra-space?utm_source=hashnode&utm_medium=feed)

Two-pointer method

Aug 19, 2021 · 3 min read · blog.iamvarshith.dev  
Read the article

-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#100daysofcode](https://hashnode.com/tag/100daysofcode)

## Written by

[Muthya Varshith Vankamamidi](https://hashnode.com/@iamvarshith)

@iamvarshith · Hyderabad, India

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

Software Devloper

I am an undergraduate computer science student from NIIT University working as a freelancer seeking work as Software Engineer. Where I can apply my experience and knowledge to the fullest extent at the same time improve my skills.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
