Skip to main content
tag deque
Link
greybeard
  • 7.7k
  • 3
  • 21
  • 56
Fixed link formatting, tried to improve English
Source Link
Pieter Witvoet
  • 8.3k
  • 16
  • 28

I found ana tutorial on implementing a sequeldeque using a circular array. II changed the implementation andbut I am not sure if it is correct or not.

So I have one question:

  1. I writewrote code by using addCountthat uses an addCount field to record haswhether there are any add or notadditions, but I canI'm not sure is itif it's correct? If not, please tell me where I made an error example.

I found an tutorial on implementing a sequel using a circular array. I changed the implementation and I am not sure if it is correct or not.

So I have one question

  1. I write code by using addCount to record has any add or not, but I can not sure is it correct? If not, please tell me error example.

I found a tutorial on implementing a deque using a circular array. I changed the implementation but I am not sure if it is correct or not.

So I have one question:

  1. I wrote code that uses an addCount field to record whether there are any additions, but I'm not sure if it's correct? If not, please tell me where I made an error.
deleted 12 characters in body; edited tags; edited title
Source Link
200_success
  • 145.6k
  • 22
  • 191
  • 481

Is correct? Implement a deque Deque implemented using a circular array

I found implementation-deque-using-circular-array from below url. an https://www.geeksforgeeks.org/implementation-deque-using-circular-array/tutorial on implementing a sequel using a circular array

I change. I changed the implement codeimplementation and I am not sure if it is correct or not.

---below is code-----

 

Is correct? Implement a deque using a circular array

I found implementation-deque-using-circular-array from below url. https://www.geeksforgeeks.org/implementation-deque-using-circular-array/

I change the implement code and I am not sure is correct or not.

---below is code-----

Deque implemented using a circular array

I found an tutorial on implementing a sequel using a circular array. I changed the implementation and I am not sure if it is correct or not.

 
Post Reopened by 200_success
Post Closed as "Not suitable for this site" by 200_success
added 12 characters in body
Source Link
beehuang
  • 111
  • 1
  • 4
Loading
Source Link
beehuang
  • 111
  • 1
  • 4
Loading