---
title: "Discussion on \"167. Two Sum II - Input Array Is Sorted\" | Hashnode"
description: "Discussion on \"167. Two Sum II - Input Array Is Sorted\". https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/description/\n\nArray is sorted\n\nReturn 1-based indices\n\nExactly one solution guaranteed\n\n\n\nCore Idea (Two Pointer Technique)\nUse two pointers:\nleft  → start of array\nright → end of array\n\n..."
url: "https://hashnode.com/posts/167-two-sum-ii-input-array-is-sorted/698ee1fa99a2e4dfd5a8e274"
---

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

Discussion

# [167\. Two Sum II - Input Array Is Sorted](https://two-sum-2.hashnode.dev/167-two-sum-ii-input-array-is-sorted?utm_source=hashnode&utm_medium=feed)

https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/description/ Array is sorted Return 1-based indices Exactly one solution guaranteed Core Idea (Two Pointer Technique) Use two pointers: left → start of array right → end of array ...

Feb 13 · 1 min read · two-sum-2.hashnode.dev  
Read the article

-   [#array](https://hashnode.com/tag/array)
-   [#two-pointers](https://hashnode.com/tag/two-pointers)
-   [#zomato](https://hashnode.com/tag/zomato)
-   [#meta](https://hashnode.com/tag/meta)
-   [#amazon](https://hashnode.com/tag/amazon)

## Written by

[Deepak Kambala](https://hashnode.com/@deepakkambala)

@deepakkambala

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
