Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ two_pointer.py
File
two_pointer.py
maths/two_pointer.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"
2
Given a sorted array of integers,
return
indices of the two numbers such
3
that they add up to a specific target using the two pointers technique.
4
Callers
nothing calls this directly
Calls
1
two_pointer
Function · 0.85
Tested by
no test coverage detected