Home
CMPT 225 Midterm 1 Prep
Cancel

sumQueue.cpp

sumQueue.cpp This is from the practice midterm. Go Back #include <iostream> using namespace std; class Queue{ private: public: struct node{ int data; ...

copying.cpp

copying.cpp This is from the practice midterm. Go Back #include <iostream> using namespace std; class LList{ private: struct node{ int data; node* ne...

tailDeletion.cpp

tailDeletion.cpp This is from the practice midterm. Go Back #include <iostream> using namespace std; class LList{ private: struct node{ int data; ...

queue20.cpp

queue20.cpp Go Back // Link to Challenge: https://www.w3resource.com/cpp-exercises/queue/index.php #include <iostream> #include <vector> using namespace std; class Queue{ priva...

queue12.cpp

queue12.cpp Go Back // Link to Challenge: https://www.w3resource.com/cpp-exercises/queue/index.php #include <iostream> #include <vector> using namespace std; class Queue{ priva...

queue11.cpp

queue11.cpp Updated at June 15, 2023 10:14AM:   - Included a check/conditional where there is no second highest element at all! Go Back // Link to challenge: https://www.w3resource.com...

queue3.cpp

queue3.cpp Go Back // Link to Challenge: https://www.w3resource.com/cpp-exercises/queue/index.php #include <iostream> #include <vector> using namespace std; class Queue{ private...

queue1.cpp

queue1.cpp Go Back // Link to Challenge: https://www.w3resource.com/cpp-exercises/queue/index.php // Missing: Check if it is full #include <iostream> #include <vector> using namespac...

stack4.cpp

stack4.cpp Go Back // Link to challenge: https://www.w3resource.com/cpp-exercises/stack/index.php #include <iostream> #include <vector> using namespace std; class Stack{ private...

stack1.cpp

stack1.cpp Go Back // Link to challenge: https://www.w3resource.com/cpp-exercises/stack/index.php #include <iostream> #include <vector> using namespace std; class Stack{ private...