Created
          December 30, 2014 04:23 
        
      - 
      
- 
        Save ostretsov/66b3d9776abcea522c72 to your computer and use it in GitHub Desktop. 
    How to find great common divisor
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | def gcd(a: Int, b: Int): Int = { | |
| if (b == 0) a else gcd(b, a % b) | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment