Skip to content
Snippets Groups Projects

Draft: Resolve "Add queue_is_full"

Open leo.pellandi requested to merge 6-add-queue_is_full into main
1 file
+ 1
5
Compare changes
  • Side-by-side
  • Inline
+ 1
5
bool is_full(queue q){
bool is_full(queue q){
bool ret = false;
return (q.tail >= q.capacity);
if(q.tail == q.capacity){
ret = true;
}
return ret;
}
}
Loading