Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TheAlgorithms/Python
/ prev
Method
prev
data_structures/binary_tree/fenwick_tree.py:77–78 ·
view source on GitHub ↗
(index: int)
Source
from the content-addressed store, hash-verified
75
76
@staticmethod
77
def
prev(index: int) -> int:
78
return
index - (index & (-index))
79
80
def
add(self, index: int, value: int) -> None:
81
""
"
Callers
1
prefix
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected