Skip to content

Commit

Permalink
Update priority_queue.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
radicalparty authored Sep 6, 2024
1 parent 78b5ae3 commit c3d68ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_structure/queue/priority_queue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class pq {
struct Node {
T value;
Node *l, *r, *parent;
Node(T val) : value(val), l(nullptr), r(nullptr), parent(nullptr) {} // Node constructor
Node(T val) : value(val), l(nullptr), r(nullptr), parent(nullptr) {}
};
Node* root;

Expand Down

0 comments on commit c3d68ed

Please sign in to comment.