GithubHelp home page GithubHelp logo
  • šŸ‘‹ Hi, Iā€™m @Shrey-12
  • šŸ‘€ Iā€™m interested in web development
  • šŸŒ± Iā€™m currently practising Algorithms
  • šŸ’žļø Iā€™m looking to collaborate on interactive pages and :)) anything and everything interesting.
  • šŸ“« How to reach me [email protected]

Shreya's Projects

3dtrialport icon 3dtrialport

Welcome to my 3D Portfolio repository! This project showcases my skills in 3D design and interactive web development using Three.js and Blender. With a passion for creating immersive and visually stunning experiences, I've combined the power of 3D modeling with web technologies to bring my portfolio to life.

ayu icon ayu

Welcome to Ayurveda Hub, your ultimate destination for exploring the ancient wisdom of Ayurveda and embracing a holistic approach to health and wellness.

mad-ddpm icon mad-ddpm

unofficial implementation of Morphing Attack Detection using Denoising Diffusion Probabilistic Models with modifications

ml-roadmap icon ml-roadmap

Machine Learning Resources, Practice and Research

nodejs icon nodejs

trying to learn node and express.js

pear-2 icon pear-2

A peer to peer video calling website, with some cute functionalities

queues icon queues

You need to implement multQueue according to the following instructions. Im- plement a circular queue called waitQueue using an integer array of length 10. Initially that queue is empty. Next implement a linked list called serviceList with initially one node where the node contains a circular queue implemented using array of size 5 where we can insert integer elements. Now you need to implement operations to support following operations: (a) multEnqueue(int x): If the waitQueue is empty, It should enqueue x to the queue in the serviceList. If the queue in the serviceList is full, then it should insert the element into the waitQueue. If waitQueue is also full, then it should create a new node in the serviceList with a circular queue of length 5. Then it should dequeue five elements from waitQueue and enqueue those elements into the circular queue of newly created node in the serviceList. After that it should enqueue x to the waitQueue. (b) multDequeue(): In this operation, you should dequeue an element from the first node of the list serviceList and return it. Then, dequeue one element from waitQueue and enqueue that to the queue from where that element is dequeued in the serviceList. If the waitQueue is empty and due to this dequeue operation the queue at the first node of the serviceList is also empty, then delete that node if it is not the only node in serviceList. Note that, when first node gets deleted, next node of the first node becomes the first node. (c) statusQueue(): This should print the number of nodes in the serviceList, elements in the queues of each node and elements in the waitQueue. It should also show that if a new element comes, then where it will be placed in the current multQueue. If you cannot place it without creating a new node, you should return that multQueue is full. You can implement and use other supporting functions also.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.