a) They will have different time complexities
b) The memory used will not be different
c) There are chances that output might be different
d) No differences
Consider you have an array of some random size. You need to perform dequeue operation. You can perform it using stack op
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Consider you have an array of some random size. You need to perform dequeue operation. You can perform it using stack op
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!