❔ Can you help me with this exercies please.
https://pastebin.com/Gtyrj4Sk this is the code, i dont know how to get the last element from queue and to subtract with the stack.
Pastebin
namespace _01._Offroad_Challenge{ internal class Program { - ...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
13 Replies
Upload to GitHub please or share code so i dont have to download something
You'll need to provide a lot more detail.
One: upload the assignment as a PDF somewhere where it can be viewed online, not a docx.
Two: Show your current code and tell us exactly what you are trying to do, what you have tried, and where you are stuck.
If you were hoping that someone would do the entire exercise for you, thats not how it works
this is the condition i dont know hot to take last element from the queue
Pastebin
namespace _01._Offroad_Challenge{ internal class Program { - ...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
a queue is a FIFO data structure, meaning first in first out
yes but that isnt work
of course not
i found how thanks
well not really, that takes the first value from the queue, and the last value from the stack.
thats how stacks and queues works
I understnad thanks that is the right way for now
okidoki
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.