From afe218f550b81c72aa7d652706486984beb48e9d Mon Sep 17 00:00:00 2001 From: Kshitij Date: Thu, 26 Oct 2023 20:41:41 +0530 Subject: [PATCH] updated readme and removed unnecessary content from assignment 31,32 codes --- README.md | 11 ++++---- assignment-31.cpp | 51 +----------------------------------- assignment-32.cpp | 67 +---------------------------------------------- 3 files changed, 7 insertions(+), 122 deletions(-) diff --git a/README.md b/README.md index bd90eb0..c4f9748 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,8 @@ In this repository, you'll find codes for Data Structure Lab. 19. [DSL - Assignment 19 (Pinnacle Club)](https://git.kska.io/sppu-se-comp-codes/DSL/src/branch/main/assignment-19.cpp) 29. [DSL - Assignment 29 (Queue job)](https://git.kska.io/sppu-se-comp-codes/DSL/src/branch/main/assignment-29.cpp) 30. DSL - Assignment 30 (Priority queue) - _TO BE ADDED_ -31. DSL - Assignment 31 (Double-ended queue) - _TESTING AND REFINING PENDING_ - Code available in [testing branch](https://git.kska.io/sppu-se-comp-codes/DSL/src/branch/testing/assignment-31%20%28double-ended%20queue%29.cpp) -32. DSL - Assignment 32 (Circular queue) - _TESTING AND REFINING PENDING_ - Code available in [testing branch](https://git.kska.io/sppu-se-comp-codes/DSL/src/branch/testing/assignment-32%20%28circular%20queue%29.cpp) +31. [DSL - Assignment 31 (Double-ended queue)](https://git.kska.io/sppu-se-comp-codes/DSL/src/branch/main/assignment-31.cpp) +32. [DSL - Assignment 32 (Circular queue)](https://git.kska.io/sppu-se-comp-codes/DSL/src/branch/main/assignment-32.cpp) ### Write-ups 1. [Assignment 1 - Cricket, Badminton, Football](https://git.kska.io/sppu-se-comp-codes/DSL/src/branch/main/write-ups/assignment%201%20%28cricket%2C%20badminton%2C%20football%29.pdf) @@ -31,8 +31,8 @@ In this repository, you'll find codes for Data Structure Lab. 19. Assignment 19 - Pinnacle Club - _TO BE ADDED_ 29. [Assignment 29 - Queue job](https://git.kska.io/sppu-se-comp-codes/DSL/src/branch/main/write-ups/assignment-29%20%28queue%29.pdf) 30. Assignment 30 - Priority queue - _TO BE ADDED_ -31. [Assignment 31 - Double-ended queue](https://git.kska.io/sppu-se-comp-codes/DSL/src/branch/main/write-ups/assignment-31%20%28double-ended%20queue%29.pdf) **(without flowchart)** -32. Assignment 32 - Circular queue - _TO BE ADDED_ +31. [Assignment 31 - Double-ended queue](https://git.kska.io/sppu-se-comp-codes/DSL/src/branch/main/write-ups/assignment-31%20%28double-ended%20queue%29.pdf) +32. [Assignment 32 - Circular queue](https://git.kska.io/sppu-se-comp-codes/DSL/src/branch/main/write-ups/assignment-32%20%28circular%20queue%29.pdf) ### Lab Manuals 1. [Assignment 1 - Cricket, Badminton, Football](https://git.kska.io/sppu-se-comp-codes/DSL/src/branch/main/lab-manuals/Lab%20Assignment%20A_01.pdf) @@ -64,8 +64,7 @@ In this repository, you'll find codes for Data Structure Lab. > These are the codes we're working on. They *may not work* the way intended. > To view all the codes that are being built, checkout the [testing branch](https://git.kska.io/sppu-se-comp-codes/DSL/src/branch/testing). -1. [DSL - Assignment 31 (Double-ended queue)](https://git.kska.io/sppu-se-comp-codes/DSL/src/branch/testing/assignment-31%20%28double-ended%20queue%29.cpp) **(FROM MA'AM, NOT TESTED)** -2. [DSL - Assignment 32 (Circular queue)](https://git.kska.io/sppu-se-comp-codes/DSL/src/branch/testing/assignment-32%20%28circular%20queue%29.cpp) **(FROM MA'AM, NOT TESTED)** +**ALL TESTING CODES MERGED IN MAIN BRANCH. NO CHANGES PENDING.** --- diff --git a/assignment-31.cpp b/assignment-31.cpp index 45f2c65..2eb6947 100644 --- a/assignment-31.cpp +++ b/assignment-31.cpp @@ -158,53 +158,4 @@ int main() } while (c != 7); return 0; -} - -/* ~~~~~~~~~~~~~~~~~~~~~~~~~~ Output ~~~~~~~~~~~~~~~~~~~~~~~~~ - -****DEQUEUE OPERATION**** - -1-Insert at beginning -2-Insert at end -3_Display -4_Deletion from front -5-Deletion from rear -6_Exit -Enter your choice<1-6>:1 -Enter the element to be inserted:10 - - -****DEQUEUE OPERATION**** - -1-Insert at beginning -2-Insert at end -3_Display -4_Deletion from front -5-Deletion from rear -6_Exit -Enter your choice<1-6>:2 -Enter the element to be inserted:50 - - -****DEQUEUE OPERATION**** - -1-Insert at beginning -2-Insert at end -3_Display -4_Deletion from front -5-Deletion from rear -6_Exit -Enter your choice<1-6>:4 -The deleted element is 10 - -****DEQUEUE OPERATION**** - -1-Insert at beginning -2-Insert at end -3_Display -4_Deletion from front -5-Deletion from rear -6_Exit -Enter your choice<1-6>:6 - -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ +} \ No newline at end of file diff --git a/assignment-32.cpp b/assignment-32.cpp index 280094b..115504f 100644 --- a/assignment-32.cpp +++ b/assignment-32.cpp @@ -122,69 +122,4 @@ int main() } while (ch != 4); return 0; -} - -/* ~~~~~~~~~~~~~~~~~~~~~~~ Output ~~~~~~~~~~~~~~~~~~~~~~~ - - ***** Welcome To Pizza Parlor ******* - -1.Accept order -2.Make_payment -3.Pending Orders -Enter u r choice:1 - -Which Pizza would do u like to have today - -1.Veg Soya Pizza -2.Veg butter Pizza -3.Egg_Pizza -Please enter your order: 1 - - ***** Welcome To Pizza Parlor ******* - -1.Accept order -2.Make_payment -3.Pending Orders -Enter u r choice:2 - -How many Pizza ?10 - -Deliverd orders as follows... - 1 2 2 2 2 2 2 2 2 2 -Total amount to pay : 1000 -Thank you visit Again.... - - ***** Welcome To Pizza Parlor ******* - -1.Accept order -2.Make_payment -3.Pending Orders -Enter u r choice:3 - - Following orders are in queue to deliver....as follows.. - - Sorry !! There is no pending order... - - ***** Welcome To Pizza Parlor ******* - - 1.Accept order - 2.Make_payment - 3.Pending Orders - Enter u r choice:1 - - Which Pizza would do u like to have today - - 1.Veg Soya Pizza - 2.Veg butter Pizza - 3.Egg_Pizza - Please enter your order: 3 - - ***** Welcome To Pizza Parlor ******* - - 1.Accept order - 2.Make_payment - 3.Pending Orders - Enter u r choice: - 4 - -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ \ No newline at end of file +} \ No newline at end of file