Đã hoàn thành

C# Pathfinding program using Stack and Queue.

I need a maze path finder made in c#. This needs to use Stack and Queue to solve.

The program will use linked list or tree to implement the virtual maze board.

Keep track of visited squares

Two versions one stack and one queue

The input text file to be solved will be 4 x 6. 0 is path and 1 is wall.

4 6

01010e

110101

011101

11s000

Output should show like the image attached. The visited nodes should show as v and printed to the console after each move. When the path is found the path will be shown as 3s. The program should be able to find multiple path to single exit or multiple exit.

Pseudocode;

Push the starting square to the stack.

While more steps are possible:

Pop a square from the stack.

If it is the goal, break here.

If it is not the start, mark it as visited.

Examine the squares below, to the right, above, and to the left of the current square. If they are valid then push them.

Make sure the top item on your stack is not visited. Pop any already visited items.

If the stack is empty, declare failure (no more steps).

This is a simple beginner task that needs completing as a beginner would. No advanced methods.

Thank you and good luck

Kĩ năng: Lập trình C#, Lập trình C++, Thuật toán, Lập trình C

Xem nhiều hơn: simple project using stack queue, program postfix evaluation using stack, write program postfix evaluation using stack, program data structure using stack postfix, stack program using postfix function, program backtracking using stack, implementing stack queue methods using linked list, rpn calculator program using linked list stack, write java program using stack, program evaluation arithmetic expression using stack, cpu scheduling program using queue, round robin scheduling program using queue, program evaluate prefix expression using stack, program using template stack class linked list, maze program using stack, program using stack, depth first search program in c using stack, dfs program in c using stack, Multithreaded C program using the Pthread API, Multithreaded C program using the Pthread API+

Về Bên Thuê:
( 1 Nhận xét ) Liverpool, United Kingdom

ID dự án: #23129076

Được trao cho:

dobreiiita

Hello I am C # and Algorithm expert and interested in the project. I have reviewed attached file and confident to handle this project perfectly. I will keep codes simple and well documented. Please communicate to do f Thêm

£99 GBP trong 2 ngày
(277 Đánh Giá)
6.9

13 freelancer đang chào giá trung bình £150 cho công việc này

xzan88

Hi, I have read your description and looked at the attached image. I am familiar with the queue, stack and linked list data structures. I have worked with maze algorithms before. I am confident that I can finish this i Thêm

£150 GBP trong 2 ngày
(123 Nhận xét)
6.4
maysam

I will do it overnight. .

£100 GBP trong 1 ngày
(22 Nhận xét)
6.1
schoudhary1553

Hello, I can help you in C# Pathfinding program using Stack and Queue. I have gone through your job posting and become very much interested to work with you. I am an expert in this field. I have already completed sev Thêm

£170 GBP trong 3 ngày
(32 Nhận xét)
5.6
BeshoyMousaKhair

hi , it's an easy task for me and i can do it as required and on time , thanks in advance .

£130 GBP trong 7 ngày
(42 Nhận xét)
4.8
wangkui93113

I have already ever similar algorithm before and I can do your project perfectly in time. I will work quickly, reliably and communicate kindly & quickly. I hope you to keep in touch with me.

£135 GBP trong 1 ngày
(0 Nhận xét)
0.0
£150 GBP trong 3 ngày
(0 Nhận xét)
0.0
springsky30

Hello, dear. I see you want to make Path finding using c#. I have made similar puzzle solving programs with c#, let me show you. This job is very easy for me. Thanks.

£200 GBP trong 7 ngày
(0 Nhận xét)
0.0
AntonF101

I'm working as Lead developer. Main responsibilities are architecture and development. Working mostly with complex and scalable systems. I have created several path finding algorithms. Feel free to contact for detai Thêm

£120 GBP trong 2 ngày
(0 Nhận xét)
2.2
itsolutionspayme

Hi, I have 9 years experience in web and app development I have checked your requirements and understand as well. I have created SIMILAR in past. Do you want to DEMO?? Thanks.

£277 GBP trong 6 ngày
(0 Nhận xét)
0.0
dhiaakermi

hello sir , i'm a software engineer and also i'm a problem solver , i used to solve problems like this , and i can solve it easily , i can do it using c# , c++ you choose , thank you

£135 GBP trong 2 ngày
(0 Nhận xét)
0.0
m3eeeza

I work as an R&D Engineer at one of the top research institutes. I assure you a valid and simple (beginer-like) code.

£150 GBP trong 3 ngày
(0 Nhận xét)
0.0
Spectam

Hi. Thanks for your time reviewing my Proposal. I have worked on Mega Projects like ERPs, CRMs, and eCommerce. I use the agile scrum methodology so you'll have complete control over things going. Kindly, visit My Pro Thêm

£135 GBP trong 7 ngày
(0 Nhận xét)
0.0