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 764

Algorithms are used for calculation, data processing, and automated reasoning. More precisely, an algorithm is an effective method expressed as a finite list of well-defined instructions for calculating a function.

3 votes
2 answers
564 views

Is there a way to balance a binary tree continuously?

Is there an efficient algorithm that will do the following: Allow efficient additions to the tree (O(log n) max) Keep the tree approximately balanced as additions are made Ensure that branches of the …
mikera's user avatar
  • 1,056
3 votes

How do I calculate market share in an economic simulation?

You can do this quite effectively with the following approach: Give each product an "attribute vector" (quality variables such as amount of crunchiness, whatever....) Create pool of 1,000 customers …
mikera's user avatar
  • 1,056