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 77471

Performance is a subset of Optimization: performance is the goal when you want the execution time of your program or routine to be optimal.

4 votes
2 answers
935 views

Merge intersecting sub-arrays

9, 8], [7, 2]]; What I am expecting to get: [[ 1, 3, 5, 17 ], [ 2, 7 ], [ 8, 9 ]] Indexes of arrays, that are related: 0, 1, 2, 3 4, 5, 7 6 My code does what's needed, but my gut tells me that performance
eawer's user avatar
  • 207