Garry's Notes

  • Home

  • About

  • Tags

  • Archives

算法编程

Posted on 2015-09-10 | Edited on 2018-09-29 | In Algorithm | Comments:
  • 数字翻转
    1
    2
    3
    4
    5
    6
    7
    8
    9
    static int numberInversion(int n){
    int i = 0;
    while(n/10>0){
    i = n%10+i*10;
    n = n/10;
    }
    i = n%10+i*10;
    return i;
    }
# Algorithm
面试复习
学习Storm

Garry

36 posts
15 categories
28 tags
© 2019 Garry
Powered by Hexo v3.7.1
|
Theme – NexT.Muse v6.4.1