Skip to content

Commit 000d6b3

Browse files
author
danghai
committed
reorganize queue
1 parent c611fda commit 000d6b3

9 files changed

+11
-5
lines changed

algorithms/queues/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from .queue import *
2+
from .max_sliding_window import *
3+
from .reconstruct_queue import *
4+
from .priority_queue import *
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

queues/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/test_queues.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
from queues.queue import ArrayQueue, LinkedListQueue
2-
from queues.max_sliding_window import max_sliding_window
3-
from queues.reconstruct_queue import reconstruct_queue
4-
from queues.priority_queue import PriorityQueue, PriorityQueueNode
1+
from algorithms.queues import (
2+
ArrayQueue, LinkedListQueue,
3+
max_sliding_window,
4+
reconstruct_queue,
5+
PriorityQueue, PriorityQueueNode
6+
)
7+
58
import unittest
69

710
class TestQueue(unittest.TestCase):

0 commit comments

Comments
 (0)