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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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 user 1001

A sequential random-access data structure whose size can typically not be changed after creation.

5
votes
1answer
Let $A[1...N]$ be an Array of size $N$ with maximum element $\max$. I want to transform array $A$ such that after transformations all elements of $A$ contain $\max$, i.e. after transformation $A = [\ …
asked May 9 '12 by Jack
4
votes
3answers
Suppose I have an array of integers having length $N$. How can I output all longest decreasing sequences? (A subsequence consists of elements of the array that do not have to be consecustive, for exam …
asked Apr 15 '12 by Jack
8
votes
1answer
We are given a set $F=\{f_1, f_2, f_3, …, f_N\}$ of $N$ Fruits. Each Fruit has price $P_i$ and vitamin content $V_i$; we associated fruit $f_i$ with the ordered pair $(P_i, V_i)$. Now we have to arran …
asked Apr 15 '12 by Jack