Find Jobs
Hire Freelancers

I need a coder

£10-20 GBP

进行中
已发布超过 3 年前

£10-20 GBP

货到付款
Write a program that moves letters in a 2D array so that it is sorted: • Each row only has letters of one letter (or is empty). • All letters of the same type are on the same row. • The only letters that exists are K, R, G, Y, B, M, C or W. The rules about how letters may be re- arranged : 1. You can only move one letter at a time. 2. The only letter that can move is the one from each row. 3. The letter must move to become the rightmost on its new row. 4. You can’t put more letters on a shelf than its maximum size. For example: The brute-force algorithm to make the 2D array sorted: 1. use a list of arrays or a linked list. 2. initial array is put into the front of this list. 3. Take an array from the front of the list. 4. For this (parent) array, find the resulting (child) arrays which can be created from all the valid possible single letter moves. If you have found a solution, stop. Else, go to 3. To help with printing out the correct moves when a solution has been found, each structure in the list will need to contain an array and a record of its parent array. For an array, this could simply be which element of the array was the parent, or for a linked list, this will be a pointer. The program reads in a list of letters and fullstops and the number of rows and columns from a file e.g. 5 4 MWW. BK.. .... And it sorts the array according to the above rules.
项目 ID: 28238096

关于此项目

2提案
远程项目
活跃3 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
2威客以平均价£20 GBP来参与此工作竞价
用户头像
Having Teaching Experience in C, C++,java,JavaFX,Java Swing, JavaScript,Python, Data structure, Algorithm Design and Analysis Hi, Greetings. I have more than 2 years experience in developing algorithms of mathematical problems as well as computer related problems and their implementation using C, C++,java,JavaFX,Java Swing, JavaScript, Python programming language. I am teaching online now several student on data structure and algorithm, C, C++, Python programming etc. I would like to discuss in more detail with you to get your exact requirements. I am confident I can provide you efficient solution. Here I put a tentative bid amount and days that can be fixed after understanding the project details. I’m looking forward to your response. Best regards,
£19 GBP 在1天之内
5.0 (43条评论)
5.9
5.9
用户头像
Hello. I'm knowledgeable about the C programming language and I can help you with this project. Let's chat for doing business.
£20 GBP 在1天之内
5.0 (8条评论)
3.0
3.0

关于客户

UNITED KINGDOM的国旗
Sheffield, United Kingdom
5.0
1
付款方式已验证
会员自11月 20, 2020起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。