Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions data_structures/heap/randomized_heap.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@

import random
from collections.abc import Iterable
from typing import Any, TypeVar

T = TypeVar("T", bound=bool)
from typing import Any


class RandomizedHeapNode[T: bool]:
Expand Down
4 changes: 1 addition & 3 deletions data_structures/heap/skew_heap.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
from __future__ import annotations

from collections.abc import Iterable, Iterator
from typing import Any, TypeVar

T = TypeVar("T", bound=bool)
from typing import Any


class SkewNode[T: bool]:
Expand Down
Loading