大约有 10,170 项符合查询结果(耗时:0.0416秒) [XML]
Difference between Big-O and Little-O Notation
What is the difference between Big-O notation O(n) and Little-O notation o(n) ?
4 Answers
...
Java recursive Fibonacci sequence
Please explain this simple code:
36 Answers
36
...
Big-oh vs big-theta [duplicate]
It seems to me like when people talk about algorithm complexity informally, they talk about big-oh. But in formal situations, I often see big-theta with the occasional big-oh thrown in.
I know mathematically what the difference is between the two, but in English, in what situation would using big-oh...
When is each sorting algorithm used? [closed]
What are the use cases when a particular sorting algorithm is preferred over others - merge sort vs QuickSort vs heapsort vs 'intro sort', etc?
...
How exactly does tail recursion work?
I almost understand how tail recursion works and the difference between it and a normal recursion. I only don't understand why it doesn't require stack to remember its return address.
...
How can I replace a newline (\n) using sed?
How can I replace a newline (" \n ") with a space (" ") using the sed command?
42 Answers
...
Code Golf - π day
Guidelines for code-golf on SO
26 Answers
26
...
How can I put strings in an array, split by new line?
I have a string with line breaks in my database. I want to convert that string into an array, and for every new line, jump one index place in the array.
...
Function for Factorial in Python
How do I go about computing a factorial of an integer in Python?
8 Answers
8
...
What is the best way to get all the divisors of a number?
...
16 Answers
16
Active
...
