How to take the first N items from a generator or list?
77900
How to get the n next values of a generator in a list (python)
19284
Using sets of arguments from a list
58749
Choose K items from N in a circle
19022
Get the first item from an iterable that matches a condition
56829
Grouping a list into lists of n elements in Haskell
42470
How to initialize a List to a given size (as opposed to capacity)?
101729
What's the best way to get the last N elements of a Perl array?
94697
Grouping the first two elements in a list of ordered triples
83303
python - get list of tuples first index?
22567
Python: using a recursive algorithm as a generator
30763
Having trouble making a list of lists of a designated size
125632
Python: fastest way to create a list of n lists
145986
Java: Get first item from a collection
139126
How do I get the first element from an IEnumerable in .net?
66620
How do I get the number of elements in a list?
83781
Getting number of elements in an iterator in Python
26938
Way to go from recursion to iteration