Skip to content

Instantly share code, notes, and snippets.

public class Main {
public static void main(String[] args){
SinglyLinkedList myList = new SinglyLinkedList();
myList.prepend(1);
myList.prepend(2);
myList.prepend(3);
myList.prepend(4);
myList.prepend(5);
System.out.println(myList);
# Terminal Cheat Sheet
pwd # print working directory
ls # list files in directory
cd # change directory
~ # home directory
.. # up one directory
- # previous working directory
help # get help
-h # get help