Skip to content

Instantly share code, notes, and snippets.

@hosamshahin
Last active September 9, 2016 23:30
Show Gist options
  • Save hosamshahin/c55d1b5ee2354cba56eeb7534790eb0a to your computer and use it in GitHub Desktop.
Save hosamshahin/c55d1b5ee2354cba56eeb7534790eb0a to your computer and use it in GitHub Desktop.
code-workout: list ADT
public List buildList(List L)
{
L.moveToStart();
L.insert(30);
L.insert(23);
L.insert(19);
L.insert(4);
L.moveToPos(2);
return L;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment