xiangbin的gravatar头像
xiangbin 2016-01-25 22:00:02

java开发岗位算法题

题目如图:

简单的翻译:这里有9个数字,三行三列,以交叉点1,2,3,4正转,翻转,举例说 r1R4r2R3,就变成下面第二张图,请问转,会得到第三张图(我英语很烂,各位都是大牛,你们自己看哈,我不知道咋翻译,意思我知道,嘿嘿)

java开发岗位算法题

 

http://www.coolpeng.cn/test/temp1/test.html

我傻了吧唧用遍历写了个方法

只能跑8步以内的,8步以上估计要用天河二号,代码也上传了,绝对原创;

用到了:命令模式,递归等,代码还没完善,大家可以借鉴,同时欢迎大家挑战,或者指出错误!

----------------------------------------------------------------

java开发岗位算法题

java开发岗位算法题

java开发岗位算法题


打赏

文件名:mf.rar,文件大小:20.658K 下载
  • /
      • /mf
        • /mf/.classpath
        • /mf/.project
          • /mf/.settings
            • /mf/.settings/org.eclipse.jdt.core.prefs
          • /mf/bin
              • /mf/bin/com
                  • /mf/bin/com/xs
                      • /mf/bin/com/xs/mf
                          • /mf/bin/com/xs/mf/action
                            • /mf/bin/com/xs/mf/action/R1Action.class
                            • /mf/bin/com/xs/mf/action/R2Action.class
                            • /mf/bin/com/xs/mf/action/R3Action.class
                            • /mf/bin/com/xs/mf/action/R4Action.class
                            • /mf/bin/com/xs/mf/action/Rr1Action.class
                            • /mf/bin/com/xs/mf/action/Rr2Action.class
                            • /mf/bin/com/xs/mf/action/Rr3Action.class
最代码最近下载分享源代码列表最近下载
wyswww123  LV6 2021年9月10日
summerxp  LV1 2019年11月5日
jiyude  LV1 2019年9月17日
zxcaeesdqwe  LV2 2019年9月17日
低调人  LV38 2019年7月16日
yly10310  LV2 2019年6月19日
一念永恒  LV4 2019年4月18日
ds022799  LV8 2019年2月12日
wuwuwu12  LV2 2018年12月16日
ymg960827  LV2 2018年12月3日
最代码最近浏览分享源代码列表最近浏览
601601lmy  LV5 2023年7月19日
271530419  LV5 2023年6月14日
myh7719  LV2 2022年6月13日
wyswww123  LV6 2021年9月10日
2196316269  LV10 2021年2月24日
oo3534  LV2 2020年10月10日
忘记了很多  LV2 2020年8月27日
zccmp20  LV22 2020年8月25日
1362852290  LV2 2020年8月12日
new_docker  LV15 2020年7月26日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友