Coder Social home page Coder Social logo

java_learning's Introduction

Java_learning

for learning java

Usage

1、导入GetLadder后,使用GetLadder方法,输入beginword和endword,便可找到从beginword到endword的ladder
2、字典文件与代码在同一路径下,由于尚未解决的bug,代码中文件路径为绝对路径而非相对路径,如运行失败请修改dictionary.txt的路径

Test

1、由于代码接口与自己水平问题,单元测试无法很好进行,主要原因在于各方法的返回值多为map,set等较大的集合,难以选取合适的测试用例,因此目前只对最终功能进行了测试

Spring boot

1、在根目录中Terminal 输入mvn spring-boot:run来启动服务
2、提供了2种传参方式
    a、http://localhost:8080/Ladder?b=apple&e=happy,其中b表示beginword,e表示endword
    b、http://localhost:8080/Ladder/apple/happy,其中第一个单词为beginword,第二个单词为endword 

java_learning's People

Contributors

jinyuchencn avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.