Can we use character priorities like 'h' for high or 'l' for low in this case and use it to implement a priority queue?
struct node {
int data;
char c;
struct node *next;
};
Can we use character priorities like 'h' for high or 'l' for low in this case and use it to implement a priority queue?
struct node {
int data;
char c;
struct node *next;
};