Find Jobs
Hire Freelancers

Java algorithms and graphs - simple road trip game

$10-30 CAD

Ditutup
Disiarkan lebih dari 1 tahun yang lalu

$10-30 CAD

Dibayar semasa penghantaran
Consider the following two player "Road Trip" Game: player 1 starts with a word w1 (typically country or city); player 2 then names a new word w2 that starts with the last letter of w1. Player 1 then names a new word w3 that starts with the last letter of w2, and so on. For example, this game might play out as "dortmund", "dominican republic", "canada", "ajax". Read in the input one line at a time, and output the fewest number of turns it might take for such a game that starts at line 1, ends at line n (where n is the total number of lines in the file) using only lines of the file as the possible words in between. If there is no way to play to get to the last line from the first line, output 0. For example, the input "dortmund", "bermuda", "canada", "paris", "dominican republic", "ajax" would return 4 ("dortmund" -> "dominican republic" -> "canada" -> "ajax"), whereas the input "dortmund", "bermuda", "canada", "dominican republic", "ajax", "paris" would return 0 since there is no way of playing to get from the first line to the last line, and you want to return the fewest number of turns that do so. Each turn must use a line that is not used on any previous turn, You may assume that each line has at least one character on it, and case matters (so, you do not need to do any fancy changing of letters from upper to lower case or vice-versa.) Source code files are attached, you only need to modify the [login to view URL] file and the others can be left untouched.
ID Projek: 35437686

Tentang projek

15 cadangan
Projek jarak jauh
Aktif 1 tahun yang lalu

Ingin menjana wang?

Faedah membida di Freelancer

Tetapkan bajet dan garis masa anda
Dapatkan bayaran untuk kerja anda
Tuliskan cadangan anda
Ianya percuma untuk mendaftar dan membida pekerjaan
15 pekerja bebas membida secara purata $36 CAD untuk pekerjaan ini
Avatar Pengguna
HI..I am proficient in core Java OO programming with data structures, algorithms including graphs and can help you compete the given project as per requirements.
$60 CAD dalam 1 hari
4.9 (282 ulasan)
6.9
6.9
Avatar Pengguna
⭐ Java Expert You want⭐ Hi, Mohd! I am very familiar with Java . You can check my profile and see hacker rank certification and reviews I am confident that I can complete your project within short period. Understood your requirements and now have few questions need to confirm before start. Please contact me and save your time. I am looking forward to hearing from u. Thank you.
$100 CAD dalam 1 hari
5.0 (11 ulasan)
4.0
4.0
Avatar Pengguna
Hi. I can do your assignment quickly. Please leave me a message. Tks.
$30 CAD dalam 1 hari
5.0 (13 ulasan)
3.7
3.7
Avatar Pengguna
Hi there, I hope this finds you well. I am bidding on your project requiring and I have 12 yeaers exp in (Java and Software Architecture). I am glad to inform you that i have the right and respective required skills for your projects. Having wide experience in this field, I request you to consider my bid for quality services and full delivery as instructed. Message me for more details. Regards
$50 CAD dalam 7 hari
1.6 (1 ulasan)
1.6
1.6
Avatar Pengguna
Hello there! I am a software developer with 6+ years of experience in developing custom software solutions for businesses. My specialties include web development, database management, and software maintenance. I have worked on projects for companies in a wide range of industries, including healthcare, finance, retail, and education. I understand the importance of meeting deadlines and delivering high-quality work. I have a proven track record of success and I am committed to exceeding expectations. If you are looking for a software developer to help you with your project, I would be more than happy to discuss it in further detail. I am confident that I can deliver a quality solution that meets your needs and exceeds your expectations. Thank you for your time and consideration. I look forward to hearing from you soon. Sincerely, Jiwhan Choi
$20 CAD dalam 1 hari
0.0 (0 ulasan)
0.0
0.0
Avatar Pengguna
I have worked on projects similar to this one, I have the ability to finish on time and without mistakes. I'm new to the platform, but that doesn't mean I'm a beginner
$20 CAD dalam 7 hari
0.0 (0 ulasan)
0.0
0.0
Avatar Pengguna
Hi! I have a lot of experience with both Java and DS+Algorithms. I'll have this project done in a couple hours or so. EDIT: I've finished and tested the project, and can send it to you as soon as you hire me!
$10 CAD dalam 1 hari
0.0 (0 ulasan)
0.0
0.0
Avatar Pengguna
Hello mate. Thanks for posting this interesing project. I have a solution for this problem already. Pz ping me. Federico
$30 CAD dalam 7 hari
0.0 (0 ulasan)
1.2
1.2
Avatar Pengguna
It seems like you can solve the problem using DFS Algorithm. I can do it in 1 day. I am software developer with 5 years of experience.
$20 CAD dalam 1 hari
0.0 (0 ulasan)
0.0
0.0
Avatar Pengguna
TriVenturesTechnologies is a seasoned software development company with more than 14 years of experience in working with both small and large government and private organizations. We have successfully delivered while working as an extension of our clients’ business team. We are excited and willing to meet your project’s requirements while remaining within your budgetary constraints. However, we would like to schedule our complimentary Client Success Meeting to better understand your business goals and how we can best suite your objectives. We understand that short requirement posting on freelancer website do not fully reflect the scope of a project. Therefore, we have designed a powerful process to deliver success every time. Looking forward to working with you
$20 CAD dalam 7 hari
0.0 (0 ulasan)
0.0
0.0
Avatar Pengguna
hi I have 10 years of development experience. I am looking for long term engagement with suitable clients. I have worked in data communication , GSM , TCP/IP, HTTP etc in C/C++ ,Erlang ,Java , C# Atul
$20 CAD dalam 7 hari
0.0 (0 ulasan)
0.0
0.0
Avatar Pengguna
Solved 2800+ Algorithmic problems. 3+ years experience in solving problems in JAVA. Google Codejam 2022 IndiaRank: 304 Facebook Hackercup 2022 India Rank : 102 Global Rank:63/17,662 CodeChef Snackdown Coding Competition Global Rank:261/8051 Hackerrank Hackfest Coding Competition Active on --> Hackerearth (Rating : 1661, Percentile : 99.38). Hackerrank (Rating : 1944.91, Percentile : 95.06), Codechef (Rating : 1802), I'm interested in problem solving and learning new stuff.
$10 CAD dalam 3 hari
0.0 (0 ulasan)
0.0
0.0
Avatar Pengguna
Consider this done brother..I have a team of professional dev who will get what you want in clear and as much iteration you want.
$15 CAD dalam 3 hari
0.0 (0 ulasan)
0.0
0.0

Tentang klien

Bendera INDIA
Saharanpur, India
5.0
9
Ahli sejak Nov 4, 2012

Pengesahan Klien

Terima kasih! Kami telah menghantar pautan melalui e-mel kepada anda untuk menuntut kredit percuma anda.
Sesuatu telah berlaku semasa menghantar e-mel anda. Sila cuba lagi.
Pengguna Berdaftar Jumlah Pekerjaan Disiarkan
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuatkan pratonton
Kebenaran diberikan untuk Geolocation.
Sesi log masuk anda telah luput dan telah dilog keluar. Sila log masuk sekali lagi.