Revision history of "E. insert first(item, L): returns a mylist that contains item followed by items in L, in sequence."

From EECS 182
E. insert first(item, L): returns a mylist that contains item followed by items in L, in sequence.
Jump to: navigation, search

Diff selection: mark the radio boxes of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

  • (cur | prev) 14:19, December 15, 2011 Aprakash (Talk | contribs) (228 bytes) (Created page with "# Best to solve recursively. Since it is trivial to solve if L1 is empty. def insert_first(item, L1): if (L1.isempty()): return L1.append(item) else: ret...")
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
EECS @ UM
Tools