Skip to content

Update AllEvensToLeftandOddsToRight.java#2

Open
pjajara wants to merge 1 commit intotechpanja:masterfrom
pjajara:patch-1
Open

Update AllEvensToLeftandOddsToRight.java#2
pjajara wants to merge 1 commit intotechpanja:masterfrom
pjajara:patch-1

Conversation

@pjajara
Copy link

@pjajara pjajara commented Mar 2, 2014

inputArray needs to be checked for null before fetching the length else -
int j = inputArray.length - 1;//throws NullPointerException

inputArray needs to be checked for null before fetching the length else -
int j = inputArray.length - 1;//throws NullPointerException
@techpanja
Copy link
Owner

will fix it soon. Thnks!

@techpanja techpanja self-assigned this Mar 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants