MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / __lt__

Method __lt__

searches/jump_search.py:17–17  ·  view source on GitHub ↗
(self, other: Any, /)

Source from the content-addressed store, hash-verified

15
16class Comparable(Protocol):
17 def __lt__(self, other: Any, /) -> bool: ...
18
19
20def jump_search[T: Comparable](arr: Sequence[T], item: T) -> int:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected