Top "List" questions

The list tag may refer to: a linked list (an ordered set of nodes, each referencing its successor), or a form of dynamic array.

Iterate a list with indexes in Python

I could swear I've seen the function (or method) that takes a list, like this [3, 7, 19] and makes it into iterable …

python list
How to get the list of all installed color schemes in Vim?

Is there a way to get a list of all installed color schemes in Vim? That would make very easy …

list vim color-scheme
How to perform element-wise multiplication of two lists?

I want to perform an element wise multiplication, to multiply two lists together by value in Python, like we can …

python list multiplication elementwise-operations
Array versus List<T>: When to use which?

MyClass[] array; List<MyClass> list; What are the scenarios when one is preferable over the other? And why?

.net arrays list
Python 3 turn range to a list

I'm trying to make a list with numbers 1-1000 in it. Obviously this would be annoying to write/read, so …

python python-3.x list range
What's the idiomatic syntax for prepending to a short python list?

list.append() is the obvious choice for adding to the end of a list. Here's a reasonable explanation for the …

python list prepend
Is there a concurrent List in Java's JDK?

How can I create a concurrent List instance, where I can access elements by index? Does the JDK have any …

java list concurrency
How to get values of selected items in CheckBoxList with foreach in ASP.NET C#?

I have a CheckBoxList like this: <asp:CheckBoxList ID="CBLGold" runat="server" CssClass="cbl"> <asp:ListItem Value="…

c# asp.net list foreach checkboxlist
How to merge multiple lists into one list in python?

Possible Duplicate: Making a flat list out of list of lists in Python Join a list of lists together into …

python list join merge
Efficient way to rotate a list in python

What is the most efficient way to rotate a list in python? Right now I have something like this: >&…

python list