Find Jobs
Hire Freelancers

Maze in Java

$10-30 USD

完了済み
投稿日: 約10年前

$10-30 USD

完了時にお支払い
Write a Maze Explorer program, [login to view URL], that uses stacks and queues to implement an algorithm to escape from a maze. The overall pseudocode of the algorithm is the following. create an empty stack of locations to explore. push the start location onto the stack. while ( stack is not empty ) { pop a location loc from the stack. if we have pulled loc from the stack before: no need to explore it again, so skip loc. if loc is the end location: the end was reachable! else, loc is a new reachable non-finish location, so explore it: add all non-wall adjacent maze locations to the stack. record the fact that we have explored loc. } if the stack is empty, the finish is unreachable. A maze is specified by a file which contains a text encoding for the maze, where S represents the start location, F represents the finish location, W represents a wall, and O represents a location we can explore. A path through the maze can only consist of steps going left, right, up, or down, no diagonals are allowed. Two mazes are provided as input: [login to view URL] (in which the end is reachable) and [login to view URL] (inwhich, the end is not reachable). Here is a sample maze: WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WSOOOOOOOOOOOOOOWOOOOOOOOOOOOOOOOOWOOOOOOOOOOOOOOOWOOOOOOW WWOOOOOOOOOOOOOWWWWWWWWWWWWWOOOOOOOOOOWWWWWWWWWWWWWOOOOOOW WWWWWWOOOOOOOOOOOOWWWWWWWOOOOOOOOOOOOWWWWWWWWWWWWWWWWOOOOW WOOOOOOWWWWWWWWWWWWWWOOOOOOOOOOOWWWWWWWWWWWOOOOOOOOOOOOWWW WOOOOWWWWWWWOOOOOOWWWWOOOOOOWWWWWWWWWWWOOOOWWWWWWWWWOWWWWW WOOOWWWWWWWWWWWWOOWWWWWWWWWWWWOOOOOOOOOOOOWWWWWWWWWOOOOOWW WOOWWWWWWWWWWWWWOOWWWWWWWWWWWWWWWWWOOOOOOOWWWWWWWWWWWWOOOW WOWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWOOOOOOOWWWWWWWWWWWOOW WOWWWWWWWWWWWWWOOOOOOOOOOOOOOOOOOOOOOOOOOOOWWWWWWWWWWWWOOW WOOOOOOOOOOOOOOOOWWWWOOOOOOOOWWWWWWWOOOOOOWWWWWWWWWWWWWWFW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW One possible solution: WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WsOOOOOOOOOOOOOOWOOOOOOOOOOOOOOOOOWOOOOOOOOOOOOOOOWOOOOOOW WWOOOOOOOOOOOOOWWWWWWWWWWWWWOOOOOOOOOOWWWWWWWWWWWWWOOOOOOW WWWWWWOOOOOOOOOOOOWWWWWWWOOOOOOOOOOOOWWWWWWWWWWWWWWWWOOOOW WOOOOOOWWWWWWWWWWWWWWOOOOOOOOOOOWWWWWWWWOOOOOOOOOOOOOOOWWW WOOOOWWWWWWWOOOOOOWWWWOOOOOOWWWWWWWWWWWOOOOWWWWWWWWWOWWWWW WOOOWWWWWWWWWWWWOOWWWWWWWWWWWWOOOOOOOOOOOOWWWWWWWWWOOOOOWW WOOWWWWWWWWWWWWWOOWWWWWWWWWWWWWWWWWOOOOOOOWWWWWWWWWWWWOOOW WOWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWOOOOOOOWWWWWWWWWWWOOW WOWWWWWWWWWWWWWOOOOOOOOOOOOOOOOOOOOOOOOOOOOWWWWWWWWWWWWOOW WOOOOOOOOOOOOOOOOWWWWOOOOOOOOWWWWWWWOOOOOOWWWWWWWWWWWWWOf W WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW Extra Credit: Come up with your own maze, submit it as myMaze.txt. Extra Extra Credit: Print a list of directions to follow from S to F.
プロジェクト ID: 5524486

プロジェクトについて

7個の提案
リモートプロジェクト
アクティブ 10年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
hello, i already make this algorithm before in one of my college Assignment. please refer to find the bomb project in my portfolio to see sc shoot about the maze that i did before..it have the same properties as your maze (start point,finish point, walls) thanks
$30 USD 2日以内
5.0 (7 レビュー)
2.7
2.7
この仕事に7人のフリーランサーが、平均$28 USDで入札しています
ユーザーアバター
Hi, I am placing my bid on your project because I have read the requirements and I am confident enough with my Java and algorithm skills. I am focused mostly on doing computer science homework here in freelancer.com and I would like to help you get this project done if you would give me the opportunity. I am a computer science professor and practitioner and this assignment is one of the fields that I teach very well so I can assure you an accurate result. Let me know if you are interested so I can start. Thanks.
$30 USD 0日以内
4.9 (282 レビュー)
6.5
6.5
ユーザーアバター
Hello, I am oracle certified professional java programmer and have Bsc,IT, I can surely help you, thanks
$27 USD 0日以内
5.0 (54 レビュー)
5.1
5.1
ユーザーアバター
hi mate this is Asad, i have a lot of experience in java programming would surely help you out with this ,cheers :)
$35 USD 1日以内
4.9 (8 レビュー)
3.3
3.3
ユーザーアバター
I have one year experience in java. I have done 6 years study in computers(BCA and MCA). I am Oracle Certified in Java also. I hope you will shortlist me for this job. I will do my work with perfection and 100% commitment. And I dont want any milestone before your satisfaction with my performance. Thanks
$25 USD 3日以内
1.0 (1 レビュー)
1.1
1.1
ユーザーアバター
Senior Java programmer. Working in Java, Arduino and Android for more than 6 years. Can do it within a day. PM to discuss it.
$50 USD 1日以内
0.0 (0 レビュー)
0.0
0.0
ユーザーアバター
I can do this easily I am going to get started tomorrow as it is very late over here in Ireland but I am going to create this anyway regardless if you accept my bid or not I should have it for you sometime tomorrow for you to have a look at and if you want to buy it you can
$20 USD 3日以内
0.0 (0 レビュー)
0.0
0.0
ユーザーアバター
I have worked on many java project. This maze is easy for me, so, please give me help you. Thank you.
$30 USD 1日以内
0.0 (0 レビュー)
0.0
0.0

クライアントについて

UNITED STATESのフラグ
Lynnwood, United States
5.0
10
お支払い方法確認済み
メンバー登録日:2月 11, 2014

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。