Created
March 29, 2017 11:25
-
-
Save stevehenderson/ec41ceedf48d9c3fb926008158e81cd2 to your computer and use it in GitHub Desktop.
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
public boolean firstLast6(int[] nums) { | |
if((nums[0]==6)||(nums[nums.length-1]==6) ) | |
return true; | |
else | |
return false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment