Source Code Dreammers Market #include<stdio.h> #include<stdlib.h> #include<string.h> struct node{ char barang[101]; int qty; int value; struct node *next, *prev; }*head = NULL , *tail = NULL , *curr; void push(const char *s , int x) { curr = (struct node*)malloc(sizeof(struct node)); strcpy(curr->barang,s); curr->qty = x; curr->value = rand()%11; curr->next = curr->prev = NULL; if(head == NULL) { head = tail = curr; } else if(x < head->qty || strcmp(s,head->barang) < 0) { curr->next = head; head->prev = curr; head = curr; } else if(x > tail->qty || s...