Giter VIP home page Giter VIP logo

implement-sem-version's Introduction

Maven:实现语义化版本

之所以要出这么一道题,是因为很多年前我在面试时被要求手写一个语义化版本的实现。

请实现一个Version.compare。注意,在这个过程中,你可以在两种方法中二选一:

  • 自己造一个轮子。
  • 或者通过自己的搜索,使用别人已经造好的轮子(语义化版本这样通用的东西肯定有人实现过),但是要把别人的轮子适配到我们要求的Version中。

在提交Pull Request之前,你应当在本地确保所有代码已经编译通过,并且通过了测试(mvn clean test)


注意!我们只允许你修改以下文件,对其他文件的修改会被拒绝:


完成题目有困难?不妨来看看写代码啦的相应课程吧!

回到写代码啦的题目,继续挑战!

implement-sem-version's People

Contributors

hcsp-bot avatar blindpirate avatar wangpeng1994 avatar sltrust avatar deejaystudy avatar jinlingfeng avatar hukaibo avatar kungua avatar maoyuanfang avatar jaychenfe avatar scott-yuyan avatar li-saltair avatar anotherlee avatar moonsv avatar procarihana avatar uuflyer avatar rokixy avatar suyuzhuang avatar xiongamao avatar zhangxin avatar dingsheng1214 avatar squall1744 avatar zhangyongwang4444 avatar westee avatar yuyunzhi avatar huangchucai 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.