Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 123401

This tag is used for questions which present a problem and multiple solutions, where the asker wishes to know which solution is best (and why).

2 votes

Initializing the edge values of 2D array in Java

Could it be that you make too many assumptions? Probably you should really create a new array and not "write the fence" in an existing one. I guess this would simplify the code by just creating an a …
leo's user avatar
  • 121