├── L01 ├── L1Q2 │ ├── text4.txt │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l1q2 │ │ │ └── L1Q2.class │ ├── text2.txt │ ├── text3.txt │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ ├── project.xml │ │ └── project.properties │ └── text1.txt ├── L1Q3 │ └── Account │ │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── account │ │ │ └── Account.class │ │ ├── manifest.mf │ │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ └── project.xml │ │ └── src │ │ └── account │ │ └── Account.java ├── L1Q4 │ └── Account1 │ │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── account1 │ │ │ ├── Account1.class │ │ │ └── Transaction.class │ │ ├── manifest.mf │ │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ └── project.xml │ │ └── src │ │ └── account1 │ │ └── Transaction.java ├── L1Q1 │ └── ReadMyLetter_WID180503 │ │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── readmyletter_wid180503 │ │ │ └── ReadMyLetter_WID180503.class │ │ ├── manifest.mf │ │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ └── project.xml │ │ ├── tanyeejet_wid180503.txt │ │ ├── tanyeejet_wid180503 - Copy.txt │ │ └── src │ │ └── readmyletter_wid180503 │ │ └── ReadMyLetter_WID180503.java └── Lab1-ProgrammingFundamental.pdf ├── L02 ├── L2Q1 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l2q1 │ │ │ └── L2Q1.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ ├── project.xml │ │ └── project.properties │ └── src │ │ └── l2q1 │ │ └── L2Q1.java ├── L2Q2 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l2q2 │ │ │ └── L2Q2.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ ├── project.xml │ │ └── project.properties │ └── src │ │ └── l2q2 │ │ └── L2Q2.java ├── L2Q3 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l2q3 │ │ │ └── L2Q3.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ ├── project.xml │ │ └── project.properties │ └── src │ │ └── l2q3 │ │ └── L2Q3.java └── Lab2-Recursion.pdf ├── L03 ├── L3Q1 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l3q1 │ │ │ ├── StorePair.class │ │ │ └── StorePairGeneric.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ └── project.xml │ └── src │ │ └── l3q1 │ │ ├── StorePair.java │ │ └── StorePairGeneric.java ├── L3Q2 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l3q2 │ │ │ └── MyGeneric.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ ├── project.xml │ │ └── project.properties │ └── src │ │ └── l3q2 │ │ └── MyGeneric.java ├── L3Q3 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l3q3 │ │ │ └── CompareMax.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ ├── project.xml │ │ └── project.properties │ └── src │ │ └── l3q3 │ │ └── CompareMax.java ├── L3Q4 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l3q4 │ │ │ └── MinMax.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ ├── project.xml │ │ └── project.properties │ └── src │ │ └── l3q4 │ │ └── MinMax.java ├── L3Q5 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l3q5 │ │ │ ├── FindMax.class │ │ │ └── FindMax$Circle.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ ├── project.xml │ │ └── project.properties │ └── src │ │ └── l3q5 │ │ └── FindMax.java ├── L3Q6 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l3q6 │ │ │ └── MinMaxTwoDArray.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ └── private.properties │ │ ├── genfiles.properties │ │ └── project.xml │ └── src │ │ └── l3q6 │ │ └── MinMaxTwoDArray.java └── Lab3-Generics.pdf ├── L04 ├── L4Q1 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l4q1 │ │ │ ├── ArrayBag.class │ │ │ ├── BagInterface.class │ │ │ └── StorePairGeneric.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ ├── project.xml │ │ └── project.properties │ └── src │ │ └── l4q1 │ │ └── BagInterface.java ├── L4Q2 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l4q2 │ │ │ ├── ArrayBag.class │ │ │ └── BagInterface.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ └── project.xml │ └── src │ │ └── l4q2 │ │ └── BagInterface.java ├── L4Q3 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l4q3 │ │ │ ├── ArrayBag.class │ │ │ └── BagInterface.class │ ├── manifest.mf │ └── nbproject │ │ ├── private │ │ ├── private.properties │ │ └── private.xml │ │ ├── genfiles.properties │ │ └── project.xml ├── L4Q4 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l4q4 │ │ │ ├── ArrayBag.class │ │ │ └── BagInterface.class │ ├── manifest.mf │ └── nbproject │ │ ├── private │ │ ├── private.properties │ │ └── private.xml │ │ ├── genfiles.properties │ │ └── project.xml ├── L4Q5 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l4q5 │ │ │ ├── ArrayBag.class │ │ │ ├── ArrayBagDemo.class │ │ │ └── BagInterface.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ └── project.xml │ └── src │ │ └── l4q5 │ │ └── ArrayBagDemo.java └── Lab4-ADTs-and-Bags.pdf ├── L05 ├── L5Q1 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l5q1 │ │ │ ├── Node.class │ │ │ ├── MyLinkedList.class │ │ │ └── TestLinkedList.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ └── project.xml │ └── src │ │ └── l5q1 │ │ ├── Node.java │ │ └── TestLinkedList.java └── Lab5-LinkedList.pdf ├── L06 ├── L6Q2 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l6q2 │ │ │ ├── Node.class │ │ │ ├── StudentList.class │ │ │ └── TestStudentList.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ └── project.xml │ └── src │ │ └── l6q2 │ │ └── Node.java ├── L6Q3 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l6q3 │ │ │ ├── Node.class │ │ │ ├── MyDoublyLinkedList.class │ │ │ └── TestMyDoublyLinkedList.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ └── project.xml │ └── src │ │ └── l6q3 │ │ ├── Node.java │ │ └── TestMyDoublyLinkedList.java ├── L6Q1 │ └── SList │ │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── slist │ │ │ ├── SList.class │ │ │ ├── SNode.class │ │ │ └── TestSList.class │ │ ├── manifest.mf │ │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ └── project.xml │ │ └── src │ │ └── slist │ │ ├── SNode.java │ │ ├── TestSList.java │ │ └── SList.java └── Lab6-LinkedList2.pdf ├── L07 ├── L7Q1 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l7q1 │ │ │ ├── MyStack.class │ │ │ └── TestMyStack.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ └── project.xml │ └── src │ │ └── l7q1 │ │ ├── TestMyStack.java │ │ └── MyStack.java ├── L7Q2 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l7q2 │ │ │ ├── MyStack.class │ │ │ └── TestIntMyStack.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ └── project.xml │ └── src │ │ └── l7q2 │ │ ├── TestIntMyStack.java │ │ └── MyStack.java ├── L7Q3 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l7q3 │ │ │ ├── MyStack.class │ │ │ └── TestSumMyStack.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ └── project.xml │ └── src │ │ └── l7q3 │ │ ├── TestSumMyStack.java │ │ └── MyStack.java ├── L7Q4 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l7q4 │ │ │ ├── MyStack.class │ │ │ └── TestPalindromeMyStack.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ └── project.xml │ └── src │ │ └── l7q4 │ │ ├── TestPalindromeMyStack.java │ │ └── MyStack.java ├── L7Q5 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l7q5 │ │ │ ├── MyStack.class │ │ │ └── TestHanoiMyStack.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ └── project.xml │ └── src │ │ └── l7q5 │ │ └── MyStack.java └── Lab7-Stacks.pdf ├── L09 ├── L9Q2 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l9q2 │ │ │ ├── L9Q2.class │ │ │ └── MyQueue.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ ├── project.xml │ │ └── project.properties │ └── src │ │ └── l9q2 │ │ ├── L9Q2.java │ │ └── MyQueue.java ├── L9Q3 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l9q3 │ │ │ ├── L9Q3.class │ │ │ └── MyQueue.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ ├── project.xml │ │ └── project.properties │ └── src │ │ └── l9q3 │ │ └── MyQueue.java ├── Lab9-Queue.pdf └── L9Q1 │ ├── manifest.mf │ ├── nbproject │ ├── private │ │ ├── private.properties │ │ └── private.xml │ ├── genfiles.properties │ └── project.xml │ └── src │ └── l9q1 │ └── MyQueue.java ├── L10 ├── L10Q1-2-3 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l10q1 │ │ │ └── pkg2 │ │ │ └── pkg3 │ │ │ └── L10Q123.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ └── project.xml │ └── src │ │ └── l10q1 │ │ └── pkg2 │ │ └── pkg3 │ │ └── L10Q123.java ├── L10Q4 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l10q4 │ │ │ └── L10Q4.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ └── project.xml │ └── src │ │ └── l10q4 │ │ └── L10Q4.java └── Lab10-Search-Sort.pdf ├── L11 ├── L11Q1 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── BST │ │ │ ├── BST.class │ │ │ ├── TestBST.class │ │ │ └── TreeNode.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ └── project.xml │ └── src │ │ └── BST │ │ ├── TreeNode.java │ │ └── TestBST.java └── Lab11-BST.pdf ├── L12 ├── L12Q1 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── l12q1 │ │ │ └── Heap.class │ ├── manifest.mf │ └── nbproject │ │ ├── private │ │ ├── private.properties │ │ └── private.xml │ │ ├── genfiles.properties │ │ └── project.xml └── Lab12-BST-Heap.pdf ├── Viva1 └── Viva1 │ ├── build │ └── classes │ │ ├── .netbeans_automatic_build │ │ ├── .netbeans_update_resources │ │ └── quiz1 │ │ └── Quiz1.class │ ├── manifest.mf │ └── nbproject │ ├── private │ ├── private.properties │ └── private.xml │ ├── genfiles.properties │ └── project.xml ├── Viva2 ├── Viva2 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── linkedlistdecoder │ │ │ ├── Node.class │ │ │ ├── LinkedListDecoder.class │ │ │ └── MyDoublyLinkedList.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ └── project.xml │ └── src │ │ └── linkedlistdecoder │ │ └── Node.java └── Viva2.pdf ├── Viva3 ├── Viva3Q1 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── labtest3q1 │ │ │ ├── GenericQueue.class │ │ │ └── GenericStack.class │ ├── manifest.mf │ ├── nbproject │ │ ├── private │ │ │ └── private.properties │ │ ├── genfiles.properties │ │ └── project.xml │ └── src │ │ └── labtest3q1 │ │ ├── GenericQueue.java │ │ └── GenericStack.java ├── Viva3Q2 │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ └── labtest3q2 │ │ │ └── GenericQueue.class │ ├── manifest.mf │ └── nbproject │ │ ├── private │ │ ├── private.properties │ │ └── private.xml │ │ ├── genfiles.properties │ │ └── project.xml └── Viva3.pdf ├── CONTRIBUTE.md ├── LICENSE └── README.md /L01/L1Q2/text4.txt: -------------------------------------------------------------------------------- 1 | abc123def456ghi789jkl -------------------------------------------------------------------------------- /L01/L1Q2/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L02/L2Q1/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L02/L2Q2/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L02/L2Q3/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L03/L3Q1/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L03/L3Q2/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L03/L3Q3/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L03/L3Q4/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L03/L3Q5/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L03/L3Q6/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L04/L4Q1/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L04/L4Q2/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L04/L4Q3/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L04/L4Q4/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L04/L4Q5/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L05/L5Q1/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L06/L6Q2/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L06/L6Q3/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L07/L7Q1/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L07/L7Q2/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L07/L7Q3/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L07/L7Q4/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L07/L7Q5/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L09/L9Q2/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L09/L9Q3/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L01/L1Q2/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L02/L2Q1/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L02/L2Q2/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L02/L2Q3/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L03/L3Q1/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L03/L3Q2/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L03/L3Q3/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L03/L3Q4/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L03/L3Q5/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L03/L3Q6/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L04/L4Q1/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L04/L4Q2/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L04/L4Q3/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L04/L4Q4/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L04/L4Q5/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L05/L5Q1/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L06/L6Q2/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L06/L6Q3/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L07/L7Q1/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L07/L7Q2/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L07/L7Q3/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L07/L7Q4/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L07/L7Q5/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L09/L9Q2/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L09/L9Q3/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L10/L10Q1-2-3/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L10/L10Q4/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L10/L10Q4/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L11/L11Q1/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L11/L11Q1/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L12/L12Q1/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L12/L12Q1/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Viva1/Viva1/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Viva1/Viva1/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Viva2/Viva2/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Viva2/Viva2/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Viva3/Viva3Q1/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Viva3/Viva3Q2/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L01/L1Q3/Account/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L01/L1Q3/Account/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L01/L1Q4/Account1/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L01/L1Q4/Account1/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L06/L6Q1/SList/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L06/L6Q1/SList/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L10/L10Q1-2-3/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Viva3/Viva3Q1/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Viva3/Viva3Q2/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L01/L1Q1/ReadMyLetter_WID180503/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L01/L1Q1/ReadMyLetter_WID180503/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /L01/L1Q2/text2.txt: -------------------------------------------------------------------------------- 1 | 15, 2, 9, 78, 33, 61 2 | 198, 523, 91, 42, 13, 77 3 | 34, 45 -------------------------------------------------------------------------------- /Viva2/Viva2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/Viva2/Viva2.pdf -------------------------------------------------------------------------------- /Viva3/Viva3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/Viva3/Viva3.pdf -------------------------------------------------------------------------------- /L01/L1Q2/text3.txt: -------------------------------------------------------------------------------- 1 | 4.33; 2.51; 6.11; 2.33; 6.31 2 | 1.95; 3.67; 2.22 3 | 6.84; 5.04; 9.56; 0.92 4 | -------------------------------------------------------------------------------- /L09/Lab9-Queue.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L09/Lab9-Queue.pdf -------------------------------------------------------------------------------- /L11/Lab11-BST.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L11/Lab11-BST.pdf -------------------------------------------------------------------------------- /L03/Lab3-Generics.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L03/Lab3-Generics.pdf -------------------------------------------------------------------------------- /L07/Lab7-Stacks.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L07/Lab7-Stacks.pdf -------------------------------------------------------------------------------- /L02/Lab2-Recursion.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L02/Lab2-Recursion.pdf -------------------------------------------------------------------------------- /L05/Lab5-LinkedList.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L05/Lab5-LinkedList.pdf -------------------------------------------------------------------------------- /L12/Lab12-BST-Heap.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L12/Lab12-BST-Heap.pdf -------------------------------------------------------------------------------- /L01/L1Q2/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L02/L2Q1/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L02/L2Q2/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L02/L2Q3/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L03/L3Q1/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L03/L3Q2/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L03/L3Q3/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L03/L3Q4/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L03/L3Q5/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L03/L3Q6/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L04/L4Q1/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L04/L4Q2/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L04/L4Q3/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L04/L4Q4/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L04/L4Q5/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L04/Lab4-ADTs-and-Bags.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L04/Lab4-ADTs-and-Bags.pdf -------------------------------------------------------------------------------- /L05/L5Q1/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L06/L6Q2/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L06/L6Q3/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L06/Lab6-LinkedList2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L06/Lab6-LinkedList2.pdf -------------------------------------------------------------------------------- /L07/L7Q1/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L07/L7Q2/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L07/L7Q3/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L07/L7Q4/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L07/L7Q5/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L09/L9Q1/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L09/L9Q2/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L09/L9Q3/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L10/L10Q4/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L10/Lab10-Search-Sort.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L10/Lab10-Search-Sort.pdf -------------------------------------------------------------------------------- /L11/L11Q1/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L12/L12Q1/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L06/L6Q1/SList/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L10/L10Q1-2-3/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /Viva1/Viva1/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /Viva2/Viva2/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /Viva3/Viva3Q1/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /Viva3/Viva3Q2/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L01/L1Q3/Account/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L01/L1Q4/Account1/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L01/Lab1-ProgrammingFundamental.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L01/Lab1-ProgrammingFundamental.pdf -------------------------------------------------------------------------------- /L01/L1Q1/ReadMyLetter_WID180503/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /L01/L1Q2/build/classes/l1q2/L1Q2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L01/L1Q2/build/classes/l1q2/L1Q2.class -------------------------------------------------------------------------------- /L02/L2Q1/build/classes/l2q1/L2Q1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L02/L2Q1/build/classes/l2q1/L2Q1.class -------------------------------------------------------------------------------- /L02/L2Q2/build/classes/l2q2/L2Q2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L02/L2Q2/build/classes/l2q2/L2Q2.class -------------------------------------------------------------------------------- /L02/L2Q3/build/classes/l2q3/L2Q3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L02/L2Q3/build/classes/l2q3/L2Q3.class -------------------------------------------------------------------------------- /L05/L5Q1/build/classes/l5q1/Node.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L05/L5Q1/build/classes/l5q1/Node.class -------------------------------------------------------------------------------- /L06/L6Q2/build/classes/l6q2/Node.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L06/L6Q2/build/classes/l6q2/Node.class -------------------------------------------------------------------------------- /L06/L6Q3/build/classes/l6q3/Node.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L06/L6Q3/build/classes/l6q3/Node.class -------------------------------------------------------------------------------- /L09/L9Q2/build/classes/l9q2/L9Q2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L09/L9Q2/build/classes/l9q2/L9Q2.class -------------------------------------------------------------------------------- /L09/L9Q3/build/classes/l9q3/L9Q3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L09/L9Q3/build/classes/l9q3/L9Q3.class -------------------------------------------------------------------------------- /L11/L11Q1/build/classes/BST/BST.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L11/L11Q1/build/classes/BST/BST.class -------------------------------------------------------------------------------- /L03/L3Q4/build/classes/l3q4/MinMax.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L03/L3Q4/build/classes/l3q4/MinMax.class -------------------------------------------------------------------------------- /L03/L3Q5/build/classes/l3q5/FindMax.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L03/L3Q5/build/classes/l3q5/FindMax.class -------------------------------------------------------------------------------- /L07/L7Q1/build/classes/l7q1/MyStack.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L07/L7Q1/build/classes/l7q1/MyStack.class -------------------------------------------------------------------------------- /L07/L7Q2/build/classes/l7q2/MyStack.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L07/L7Q2/build/classes/l7q2/MyStack.class -------------------------------------------------------------------------------- /L07/L7Q3/build/classes/l7q3/MyStack.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L07/L7Q3/build/classes/l7q3/MyStack.class -------------------------------------------------------------------------------- /L07/L7Q4/build/classes/l7q4/MyStack.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L07/L7Q4/build/classes/l7q4/MyStack.class -------------------------------------------------------------------------------- /L07/L7Q5/build/classes/l7q5/MyStack.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L07/L7Q5/build/classes/l7q5/MyStack.class -------------------------------------------------------------------------------- /L09/L9Q2/build/classes/l9q2/MyQueue.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L09/L9Q2/build/classes/l9q2/MyQueue.class -------------------------------------------------------------------------------- /L09/L9Q3/build/classes/l9q3/MyQueue.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L09/L9Q3/build/classes/l9q3/MyQueue.class -------------------------------------------------------------------------------- /L10/L10Q4/build/classes/l10q4/L10Q4.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L10/L10Q4/build/classes/l10q4/L10Q4.class -------------------------------------------------------------------------------- /L11/L11Q1/build/classes/BST/TestBST.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L11/L11Q1/build/classes/BST/TestBST.class -------------------------------------------------------------------------------- /L12/L12Q1/build/classes/l12q1/Heap.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L12/L12Q1/build/classes/l12q1/Heap.class -------------------------------------------------------------------------------- /L03/L3Q1/build/classes/l3q1/StorePair.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L03/L3Q1/build/classes/l3q1/StorePair.class -------------------------------------------------------------------------------- /L03/L3Q2/build/classes/l3q2/MyGeneric.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L03/L3Q2/build/classes/l3q2/MyGeneric.class -------------------------------------------------------------------------------- /L04/L4Q1/build/classes/l4q1/ArrayBag.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L04/L4Q1/build/classes/l4q1/ArrayBag.class -------------------------------------------------------------------------------- /L04/L4Q2/build/classes/l4q2/ArrayBag.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L04/L4Q2/build/classes/l4q2/ArrayBag.class -------------------------------------------------------------------------------- /L04/L4Q3/build/classes/l4q3/ArrayBag.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L04/L4Q3/build/classes/l4q3/ArrayBag.class -------------------------------------------------------------------------------- /L04/L4Q4/build/classes/l4q4/ArrayBag.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L04/L4Q4/build/classes/l4q4/ArrayBag.class -------------------------------------------------------------------------------- /L04/L4Q5/build/classes/l4q5/ArrayBag.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L04/L4Q5/build/classes/l4q5/ArrayBag.class -------------------------------------------------------------------------------- /L11/L11Q1/build/classes/BST/TreeNode.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L11/L11Q1/build/classes/BST/TreeNode.class -------------------------------------------------------------------------------- /Viva1/Viva1/build/classes/quiz1/Quiz1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/Viva1/Viva1/build/classes/quiz1/Quiz1.class -------------------------------------------------------------------------------- /L03/L3Q3/build/classes/l3q3/CompareMax.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L03/L3Q3/build/classes/l3q3/CompareMax.class -------------------------------------------------------------------------------- /L04/L4Q1/build/classes/l4q1/BagInterface.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L04/L4Q1/build/classes/l4q1/BagInterface.class -------------------------------------------------------------------------------- /L04/L4Q2/build/classes/l4q2/BagInterface.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L04/L4Q2/build/classes/l4q2/BagInterface.class -------------------------------------------------------------------------------- /L04/L4Q3/build/classes/l4q3/BagInterface.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L04/L4Q3/build/classes/l4q3/BagInterface.class -------------------------------------------------------------------------------- /L04/L4Q4/build/classes/l4q4/BagInterface.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L04/L4Q4/build/classes/l4q4/BagInterface.class -------------------------------------------------------------------------------- /L04/L4Q5/build/classes/l4q5/ArrayBagDemo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L04/L4Q5/build/classes/l4q5/ArrayBagDemo.class -------------------------------------------------------------------------------- /L04/L4Q5/build/classes/l4q5/BagInterface.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L04/L4Q5/build/classes/l4q5/BagInterface.class -------------------------------------------------------------------------------- /L05/L5Q1/build/classes/l5q1/MyLinkedList.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L05/L5Q1/build/classes/l5q1/MyLinkedList.class -------------------------------------------------------------------------------- /L06/L6Q1/SList/build/classes/slist/SList.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L06/L6Q1/SList/build/classes/slist/SList.class -------------------------------------------------------------------------------- /L06/L6Q1/SList/build/classes/slist/SNode.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L06/L6Q1/SList/build/classes/slist/SNode.class -------------------------------------------------------------------------------- /L06/L6Q2/build/classes/l6q2/StudentList.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L06/L6Q2/build/classes/l6q2/StudentList.class -------------------------------------------------------------------------------- /L07/L7Q1/build/classes/l7q1/TestMyStack.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L07/L7Q1/build/classes/l7q1/TestMyStack.class -------------------------------------------------------------------------------- /L03/L3Q5/build/classes/l3q5/FindMax$Circle.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L03/L3Q5/build/classes/l3q5/FindMax$Circle.class -------------------------------------------------------------------------------- /L05/L5Q1/build/classes/l5q1/TestLinkedList.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L05/L5Q1/build/classes/l5q1/TestLinkedList.class -------------------------------------------------------------------------------- /L07/L7Q2/build/classes/l7q2/TestIntMyStack.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L07/L7Q2/build/classes/l7q2/TestIntMyStack.class -------------------------------------------------------------------------------- /L07/L7Q3/build/classes/l7q3/TestSumMyStack.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L07/L7Q3/build/classes/l7q3/TestSumMyStack.class -------------------------------------------------------------------------------- /L03/L3Q1/build/classes/l3q1/StorePairGeneric.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L03/L3Q1/build/classes/l3q1/StorePairGeneric.class -------------------------------------------------------------------------------- /L03/L3Q6/build/classes/l3q6/MinMaxTwoDArray.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L03/L3Q6/build/classes/l3q6/MinMaxTwoDArray.class -------------------------------------------------------------------------------- /L04/L4Q1/build/classes/l4q1/StorePairGeneric.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L04/L4Q1/build/classes/l4q1/StorePairGeneric.class -------------------------------------------------------------------------------- /L06/L6Q1/SList/build/classes/slist/TestSList.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L06/L6Q1/SList/build/classes/slist/TestSList.class -------------------------------------------------------------------------------- /L06/L6Q2/build/classes/l6q2/TestStudentList.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L06/L6Q2/build/classes/l6q2/TestStudentList.class -------------------------------------------------------------------------------- /L07/L7Q5/build/classes/l7q5/TestHanoiMyStack.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L07/L7Q5/build/classes/l7q5/TestHanoiMyStack.class -------------------------------------------------------------------------------- /L01/L1Q2/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\wid180503\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L01/L1Q3/Account/build/classes/account/Account.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L01/L1Q3/Account/build/classes/account/Account.class -------------------------------------------------------------------------------- /L02/L2Q1/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L02/L2Q2/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L02/L2Q3/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L03/L3Q1/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L03/L3Q2/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L03/L3Q3/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L03/L3Q4/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L03/L3Q5/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L03/L3Q6/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L04/L4Q1/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L04/L4Q2/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L04/L4Q3/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L04/L4Q4/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L04/L4Q5/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L05/L5Q1/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L06/L6Q2/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L06/L6Q3/build/classes/l6q3/MyDoublyLinkedList.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L06/L6Q3/build/classes/l6q3/MyDoublyLinkedList.class -------------------------------------------------------------------------------- /L06/L6Q3/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L07/L7Q1/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L07/L7Q2/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L07/L7Q3/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L07/L7Q4/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L07/L7Q5/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L09/L9Q1/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L09/L9Q2/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L09/L9Q3/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L10/L10Q4/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L11/L11Q1/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L12/L12Q1/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L01/L1Q4/Account1/build/classes/account1/Account1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L01/L1Q4/Account1/build/classes/account1/Account1.class -------------------------------------------------------------------------------- /L06/L6Q1/SList/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L06/L6Q3/build/classes/l6q3/TestMyDoublyLinkedList.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L06/L6Q3/build/classes/l6q3/TestMyDoublyLinkedList.class -------------------------------------------------------------------------------- /L07/L7Q4/build/classes/l7q4/TestPalindromeMyStack.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L07/L7Q4/build/classes/l7q4/TestPalindromeMyStack.class -------------------------------------------------------------------------------- /L10/L10Q1-2-3/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /Viva1/Viva1/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /Viva2/Viva2/build/classes/linkedlistdecoder/Node.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/Viva2/Viva2/build/classes/linkedlistdecoder/Node.class -------------------------------------------------------------------------------- /Viva2/Viva2/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /Viva3/Viva3Q1/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /Viva3/Viva3Q2/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L01/L1Q3/Account/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L01/L1Q4/Account1/build/classes/account1/Transaction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L01/L1Q4/Account1/build/classes/account1/Transaction.class -------------------------------------------------------------------------------- /L01/L1Q4/Account1/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Yee Jet Tan\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /L10/L10Q1-2-3/build/classes/l10q1/pkg2/pkg3/L10Q123.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L10/L10Q1-2-3/build/classes/l10q1/pkg2/pkg3/L10Q123.class -------------------------------------------------------------------------------- /Viva3/Viva3Q1/build/classes/labtest3q1/GenericQueue.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/Viva3/Viva3Q1/build/classes/labtest3q1/GenericQueue.class -------------------------------------------------------------------------------- /Viva3/Viva3Q1/build/classes/labtest3q1/GenericStack.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/Viva3/Viva3Q1/build/classes/labtest3q1/GenericStack.class -------------------------------------------------------------------------------- /Viva3/Viva3Q2/build/classes/labtest3q2/GenericQueue.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/Viva3/Viva3Q2/build/classes/labtest3q2/GenericQueue.class -------------------------------------------------------------------------------- /L01/L1Q2/text1.txt: -------------------------------------------------------------------------------- 1 | S,U,C,E,S,S 2 | A,c,c,o,m,p,l,i,s,h,m,e,n,t 3 | B,r,i,l,l,i,a,n,t 4 | C,r,e,a,t,i,v,e 5 | D,e,t,e,r,m,i,n,a,t,i,o,n 6 | E,n,c,o,u,r,a,g,i,n,g 7 | F,o,c,u,s 8 | -------------------------------------------------------------------------------- /L01/L1Q1/ReadMyLetter_WID180503/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\wid180503\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 3 | -------------------------------------------------------------------------------- /Viva2/Viva2/build/classes/linkedlistdecoder/LinkedListDecoder.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/Viva2/Viva2/build/classes/linkedlistdecoder/LinkedListDecoder.class -------------------------------------------------------------------------------- /Viva2/Viva2/build/classes/linkedlistdecoder/MyDoublyLinkedList.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/Viva2/Viva2/build/classes/linkedlistdecoder/MyDoublyLinkedList.class -------------------------------------------------------------------------------- /L01/L1Q1/ReadMyLetter_WID180503/build/classes/readmyletter_wid180503/ReadMyLetter_WID180503.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y33-j3T/WIA1002-Data-Structure/HEAD/L01/L1Q1/ReadMyLetter_WID180503/build/classes/readmyletter_wid180503/ReadMyLetter_WID180503.class -------------------------------------------------------------------------------- /L02/L2Q1/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /L02/L2Q2/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /L02/L2Q3/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /L03/L3Q2/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /L03/L3Q3/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /L03/L3Q4/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /L03/L3Q5/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /L04/L4Q2/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /L04/L4Q3/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /L04/L4Q4/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /L04/L4Q5/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /L09/L9Q3/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Viva1/Viva1/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /L01/L1Q3/Account/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /L01/L1Q4/Account1/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Viva3/Viva3Q2/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /L11/L11Q1/src/BST/TreeNode.java: -------------------------------------------------------------------------------- 1 | package BST; 2 | 3 | public class TreeNode> { 4 | 5 | E element; 6 | TreeNode left; 7 | TreeNode right; 8 | 9 | public TreeNode() { 10 | } 11 | 12 | public TreeNode(E o) { 13 | element = o; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /CONTRIBUTE.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 1. Fork it! 3 | 2. Create your own branch with 4 | ``` 5 | git checkout -b my-new-branch 6 | ``` 7 | 3. Make your changes. 8 | 3. Commit your changes with 9 | ``` 10 | git commit -am 'added some feature' 11 | ``` 12 | 4. Push to the branch with 13 | ``` 14 | git push origin my-new-branch 15 | ``` 16 | 5. Submit a pull request. :smile: 17 | -------------------------------------------------------------------------------- /L02/L2Q3/src/l2q3/L2Q3.java: -------------------------------------------------------------------------------- 1 | package l2q3; 2 | 3 | public class L2Q3 { 4 | 5 | public static void main(String[] args) { 6 | System.out.println(exponent(10, 3)); 7 | } 8 | 9 | public static long exponent(int x, int m) { 10 | if (m == 0) { 11 | return 1; 12 | } 13 | return x * exponent(x, m - 1); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /L05/L5Q1/src/l5q1/Node.java: -------------------------------------------------------------------------------- 1 | package l5q1; 2 | 3 | public class Node { 4 | 5 | E element; 6 | Node next; 7 | 8 | public Node(E element, Node next) { 9 | this.element = element; 10 | this.next = next; 11 | } 12 | 13 | public Node(E element) { 14 | this.element = element; 15 | this.next = null; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /L06/L6Q2/src/l6q2/Node.java: -------------------------------------------------------------------------------- 1 | package l6q2; 2 | 3 | public class Node { 4 | 5 | E element; 6 | Node next; 7 | 8 | public Node(E element, Node next) { 9 | this.element = element; 10 | this.next = next; 11 | } 12 | 13 | public Node(E element) { 14 | this.element = element; 15 | this.next = null; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /L09/L9Q1/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /L09/L9Q2/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Viva2/Viva2/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /L06/L6Q1/SList/src/slist/SNode.java: -------------------------------------------------------------------------------- 1 | package slist; 2 | 3 | public class SNode { 4 | E element; 5 | SNode next; 6 | 7 | public SNode(E element, SNode next) { 8 | this.element = element; 9 | this.next = next; 10 | } 11 | 12 | public SNode(E element) { 13 | this.element = element; 14 | this.next = null; 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /L06/L6Q3/src/l6q3/Node.java: -------------------------------------------------------------------------------- 1 | package l6q3; 2 | 3 | public class Node { 4 | E element; 5 | Node next; 6 | Node prev; 7 | 8 | public Node(E element, Node next, Node prev) { 9 | this.element = element; 10 | this.next = next; 11 | this.prev = prev; 12 | } 13 | 14 | public Node(E element) { 15 | this(element, null, null); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Viva2/Viva2/src/linkedlistdecoder/Node.java: -------------------------------------------------------------------------------- 1 | package linkedlistdecoder; 2 | 3 | public class Node { 4 | E element; 5 | Node next; 6 | Node prev; 7 | 8 | public Node(E element, Node next, Node prev) { 9 | this.element = element; 10 | this.next = next; 11 | this.prev = prev; 12 | } 13 | 14 | public Node(E element) { 15 | this(element, null, null); 16 | } 17 | } -------------------------------------------------------------------------------- /L07/L7Q3/src/l7q3/TestSumMyStack.java: -------------------------------------------------------------------------------- 1 | package l7q3; 2 | 3 | public class TestSumMyStack { 4 | 5 | public static void main(String[] args) { 6 | MyStack s = new MyStack<>(); 7 | for (int i = 1; i <= 100; i++) { 8 | s.push(i); 9 | } 10 | 11 | int sum = 0; 12 | for (int i = s.getSize(); i > 0; i--) { 13 | sum += s.pop(); 14 | } 15 | System.out.println(sum); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /L10/L10Q4/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L10Q4/src/l10q4/L10Q4.java 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /L12/L12Q1/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L12Q1/src/l12q1/Heap.java 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /L01/L1Q2/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=9d5d93d2 2 | build.xml.script.CRC32=4ebe5163 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=9d5d93d2 7 | nbproject/build-impl.xml.script.CRC32=dc9b4386 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L01/L1Q2/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | file:/C:/Users/wid180503/Documents/NetBeansProjects/L1Q2/src/l1q2/L1Q2.java 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /L02/L2Q1/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=ed19cbfc 2 | build.xml.script.CRC32=4a24a46e 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=ed19cbfc 7 | nbproject/build-impl.xml.script.CRC32=d6f4f41c 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L02/L2Q2/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=f52d5f96 2 | build.xml.script.CRC32=11c033a4 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=f52d5f96 7 | nbproject/build-impl.xml.script.CRC32=c643eadf 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L02/L2Q3/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=fd3ed3b0 2 | build.xml.script.CRC32=2763bee2 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=fd3ed3b0 7 | nbproject/build-impl.xml.script.CRC32=7f01e2a1 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L03/L3Q1/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=cac98fc0 2 | build.xml.script.CRC32=7f0e85d3 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=cac98fc0 7 | nbproject/build-impl.xml.script.CRC32=69939114 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L03/L3Q1/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L3Q1/src/l3q1/StorePairGeneric.java 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /L03/L3Q2/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=d2fd1baa 2 | build.xml.script.CRC32=24ea1219 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=d2fd1baa 7 | nbproject/build-impl.xml.script.CRC32=79248fd7 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L03/L3Q3/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=daee978c 2 | build.xml.script.CRC32=12499f5f 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=daee978c 7 | nbproject/build-impl.xml.script.CRC32=c06687a9 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L03/L3Q4/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=e294337e 2 | build.xml.script.CRC32=93233d8d 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=e294337e 7 | nbproject/build-impl.xml.script.CRC32=584ab251 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L03/L3Q5/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=ea87bf58 2 | build.xml.script.CRC32=a580b0cb 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=ea87bf58 7 | nbproject/build-impl.xml.script.CRC32=e108ba2f 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L03/L3Q6/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=f2b32b32 2 | build.xml.script.CRC32=fe642701 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=f2b32b32 7 | nbproject/build-impl.xml.script.CRC32=f1bfa4ec 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L04/L4Q1/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=3df85374 2 | build.xml.script.CRC32=f4d861e0 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=3df85374 7 | nbproject/build-impl.xml.script.CRC32=e345a6ae 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L04/L4Q2/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=25ccc71e 2 | build.xml.script.CRC32=af3cf62a 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=25ccc71e 7 | nbproject/build-impl.xml.script.CRC32=f3f2b86d 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L04/L4Q3/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=2ddf4b38 2 | build.xml.script.CRC32=999f7b6c 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=2ddf4b38 7 | nbproject/build-impl.xml.script.CRC32=4ab0b013 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L04/L4Q4/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=15a5efca 2 | build.xml.script.CRC32=18f5d9be 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=15a5efca 7 | nbproject/build-impl.xml.script.CRC32=d29c85eb 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L04/L4Q5/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=1db663ec 2 | build.xml.script.CRC32=2e5654f8 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=1db663ec 7 | nbproject/build-impl.xml.script.CRC32=6bde8d95 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L05/L5Q1/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=1a281748 2 | build.xml.script.CRC32=c1f2405d 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=1a281748 7 | nbproject/build-impl.xml.script.CRC32=5c22c3a6 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L06/L6Q2/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=6a6c4f66 2 | build.xml.script.CRC32=c568b550 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=6a6c4f66 7 | nbproject/build-impl.xml.script.CRC32=564d743c 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L06/L6Q3/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=627fc340 2 | build.xml.script.CRC32=f3cb3816 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=627fc340 7 | nbproject/build-impl.xml.script.CRC32=ef0f7c42 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L07/L7Q1/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=55889f30 2 | build.xml.script.CRC32=aba60327 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=55889f30 7 | nbproject/build-impl.xml.script.CRC32=f99d0ff7 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L07/L7Q2/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=4dbc0b5a 2 | build.xml.script.CRC32=f04294ed 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=4dbc0b5a 7 | nbproject/build-impl.xml.script.CRC32=e92a1134 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L07/L7Q3/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=45af877c 2 | build.xml.script.CRC32=c6e119ab 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=45af877c 7 | nbproject/build-impl.xml.script.CRC32=5068194a 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L07/L7Q4/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=7dd5238e 2 | build.xml.script.CRC32=478bbb79 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=7dd5238e 7 | nbproject/build-impl.xml.script.CRC32=c8442cb2 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L07/L7Q5/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=75c6afa8 2 | build.xml.script.CRC32=7128363f 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=75c6afa8 7 | nbproject/build-impl.xml.script.CRC32=710624cc 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L09/L9Q1/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=609a2019 2 | build.xml.script.CRC32=677acd00 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=609a2019 7 | nbproject/build-impl.xml.script.CRC32=374066c2 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L09/L9Q2/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=78aeb473 2 | build.xml.script.CRC32=3c9e5aca 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=78aeb473 7 | nbproject/build-impl.xml.script.CRC32=27f77801 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L09/L9Q3/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=70bd3855 2 | build.xml.script.CRC32=0a3dd78c 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=70bd3855 7 | nbproject/build-impl.xml.script.CRC32=9eb5707f 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L10/L10Q4/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=d529319d 2 | build.xml.script.CRC32=e96e9b21 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=d529319d 7 | nbproject/build-impl.xml.script.CRC32=32c0c8ef 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L11/L11Q1/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=daa4c91f 2 | build.xml.script.CRC32=74c0939d 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=daa4c91f 7 | nbproject/build-impl.xml.script.CRC32=743bdd86 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L12/L12Q1/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=b2d4055b 2 | build.xml.script.CRC32=64e0973f 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=b2d4055b 7 | nbproject/build-impl.xml.script.CRC32=0aaeea80 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /Viva1/Viva1/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=bde22437 2 | build.xml.script.CRC32=9d7c6b86 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=bde22437 7 | nbproject/build-impl.xml.script.CRC32=630ef41a 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /Viva2/Viva2/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=20d3bddc 2 | build.xml.script.CRC32=8fc61264 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=20d3bddc 7 | nbproject/build-impl.xml.script.CRC32=4f8640fb 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L01/L1Q3/Account/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=51eb1927 2 | build.xml.script.CRC32=5e1357ca 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=51eb1927 7 | nbproject/build-impl.xml.script.CRC32=908a7287 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L06/L6Q1/SList/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=baaae334 2 | build.xml.script.CRC32=f1a51678 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=baaae334 7 | nbproject/build-impl.xml.script.CRC32=f61b900d 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L10/L10Q1-2-3/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=2fc1d4f7 2 | build.xml.script.CRC32=4308dc4f 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=2fc1d4f7 7 | nbproject/build-impl.xml.script.CRC32=c43b9833 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /Viva3/Viva3Q1/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=45bedd29 2 | build.xml.script.CRC32=e3e6949f 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=45bedd29 7 | nbproject/build-impl.xml.script.CRC32=f39f0839 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /Viva3/Viva3Q2/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=5d8a4943 2 | build.xml.script.CRC32=91ab17e6 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=5d8a4943 7 | nbproject/build-impl.xml.script.CRC32=c5e1a579 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L01/L1Q4/Account1/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=ac69a0c3 2 | build.xml.script.CRC32=300ad143 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=ac69a0c3 7 | nbproject/build-impl.xml.script.CRC32=fd148eed 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L10/L10Q1-2-3/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L10Q1-2-3/src/l10q1/pkg2/pkg3/L10Q123.java 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /L01/L1Q1/ReadMyLetter_WID180503/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=befdfc06 2 | build.xml.script.CRC32=8429adc1 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=befdfc06 7 | nbproject/build-impl.xml.script.CRC32=020374c7 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /L02/L2Q2/src/l2q2/L2Q2.java: -------------------------------------------------------------------------------- 1 | package l2q2; 2 | 3 | public class L2Q2 { 4 | 5 | public static void main(String[] args) { 6 | permuteString("", "ABC"); 7 | } 8 | 9 | public static void permuteString(String a, String b) { 10 | int n = b.length(); 11 | if (n == 0) { 12 | System.out.println(a); 13 | } else { 14 | for (int i = 0; i < n; i++) { 15 | permuteString(a + b.charAt(i), b.substring(0, i) + b.substring(i + 1, n)); 16 | } 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /L01/L1Q2/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L1Q2 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L02/L2Q1/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L2Q1 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L02/L2Q2/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L2Q2 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L02/L2Q3/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L2Q3 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L03/L3Q1/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L3Q1 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L03/L3Q2/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L3Q2 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L03/L3Q3/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L3Q3 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L03/L3Q4/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L3Q4 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L03/L3Q5/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L3Q5 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L03/L3Q6/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L3Q6 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L04/L4Q1/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L4Q1 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L04/L4Q2/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L4Q2 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L04/L4Q3/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L4Q3 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L04/L4Q4/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L4Q4 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L04/L4Q5/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L4Q5 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L05/L5Q1/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L5Q1 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L06/L6Q2/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L6Q2 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L06/L6Q3/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L6Q3 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L07/L7Q1/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L7Q1 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L07/L7Q2/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L7Q2 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L07/L7Q3/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L7Q3 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L07/L7Q4/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L7Q4 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L07/L7Q5/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L7Q5 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L09/L9Q1/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L9Q1 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L09/L9Q2/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L9Q2 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L09/L9Q3/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L9Q3 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L01/L1Q1/ReadMyLetter_WID180503/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | file:/C:/Users/wid180503/Documents/NetBeansProjects/ReadMyLetter_WID180503/src/readmyletter_wid180503/ReadMyLetter_WID180503.java 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /L10/L10Q4/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L10Q4 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L11/L11Q1/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L11Q1 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L12/L12Q1/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L12Q1 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Viva1/Viva1/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | quiz1 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L06/L6Q1/SList/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | SList 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L10/L10Q1-2-3/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | L10Q1-2-3 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L01/L1Q3/Account/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | Account 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L01/L1Q4/Account1/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | Account1 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Viva3/Viva3Q1/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | labtest3q1 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Viva3/Viva3Q2/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | labtest3q2 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L07/L7Q1/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L7Q1/src/l7q1/TestMyStack.java 7 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L7Q1/src/l7q1/MyStack.java 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Viva2/Viva2/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | LinkedListDecoder 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L04/L4Q1/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L4Q1/src/l4q1/ArrayBag.java 7 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L4Q1/src/l4q1/BagInterface.java 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /L07/L7Q2/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L7Q2/src/l7q2/MyStack.java 7 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L7Q2/src/l7q2/TestIntMyStack.java 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /L07/L7Q3/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L7Q3/src/l7q3/MyStack.java 7 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L7Q3/src/l7q3/TestSumMyStack.java 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /L07/L7Q5/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L7Q5/src/l7q5/TestHanoiMyStack.java 7 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L7Q5/src/l7q5/MyStack.java 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /L07/L7Q4/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L7Q4/src/l7q4/TestPalindromeMyStack.java 7 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L7Q4/src/l7q4/MyStack.java 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /L01/L1Q1/ReadMyLetter_WID180503/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | ReadMyLetter_WID180503 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /L06/L6Q1/SList/src/slist/TestSList.java: -------------------------------------------------------------------------------- 1 | package slist; 2 | 3 | public class TestSList { 4 | public static void main(String[] args) { 5 | SList list= new SList<>(); 6 | 7 | list.appendEnd("Linked "); 8 | list.appendEnd("list, "); 9 | list.appendEnd("is, "); 10 | list.appendEnd("easy."); 11 | 12 | list.display(); 13 | 14 | list.removeInitial(); 15 | list.removeInitial(); 16 | list.display(); 17 | 18 | System.out.println(list.contains("difficult")); 19 | 20 | list.clear(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /L07/L7Q1/src/l7q1/TestMyStack.java: -------------------------------------------------------------------------------- 1 | package l7q1; 2 | 3 | public class TestMyStack { 4 | public static void main(String[] args) { 5 | MyStack s = new MyStack<>(); 6 | s.push('a'); 7 | s.push('b'); 8 | s.push('c'); 9 | System.out.println(s.toString()); 10 | System.out.println(s.search('b')); 11 | System.out.println(s.search('k')); 12 | 13 | MyStack s1 = new MyStack<>(); 14 | s1.push(1); 15 | s1.push(2); 16 | s1.push(3); 17 | System.out.println(s1.toString()); 18 | System.out.println(s1.search(6)); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /L06/L6Q3/src/l6q3/TestMyDoublyLinkedList.java: -------------------------------------------------------------------------------- 1 | package l6q3; 2 | 3 | public class TestMyDoublyLinkedList { 4 | public static void main(String[] args) { 5 | MyDoublyLinkedList list = new MyDoublyLinkedList<>(); 6 | list.addFirst(1); 7 | list.addLast(10); 8 | list.addLast(100); 9 | list.add(2, 2); 10 | list.remove(3); 11 | System.out.println(); 12 | 13 | list.iterateForward(); 14 | list.iterateBackward(); 15 | list.printSize(); 16 | list.clear(); 17 | System.out.println(); 18 | 19 | list.printSize(); 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /L02/L2Q1/src/l2q1/L2Q1.java: -------------------------------------------------------------------------------- 1 | package l2q1; 2 | 3 | public class L2Q1 { 4 | 5 | public static void main(String[] args) { 6 | System.out.println(substituteAI("flabbergasted")); 7 | System.out.println(substituteAI("Astronaut")); 8 | } 9 | 10 | public static String substituteAI(String str){ 11 | if(str.length() == 1) { 12 | return Character.toString(str.charAt(0)); 13 | } else { 14 | if (str.charAt(0)=='a') 15 | return Character.toString('i') + substituteAI(str.substring(1)); 16 | return Character.toString(str.charAt(0)) + substituteAI(str.substring(1)); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /L11/L11Q1/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L11Q1/src/BST/TestBST.java 7 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L11Q1/src/BST/TreeNode.java 8 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L11Q1/src/BST/BST.java 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /L03/L3Q3/src/l3q3/CompareMax.java: -------------------------------------------------------------------------------- 1 | package l3q3; 2 | 3 | public class CompareMax { 4 | 5 | public static T maximum(T first, T second, T third){ 6 | if (first.compareTo(second)> 0 && first.compareTo(third) > 0) 7 | return first; 8 | else if (second.compareTo(first) > 0 && second.compareTo(third) > 0) 9 | return second; 10 | else if (third.compareTo(first)> 0 && third.compareTo(second)> 0) 11 | return third; 12 | else 13 | return null; 14 | } 15 | 16 | public static void main(String[] args) { 17 | System.out.println(maximum("a", "b", "c")); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /L05/L5Q1/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L5Q1/src/l5q1/TestLinkedList.java 7 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L5Q1/src/l5q1/MyLinkedList.java 8 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L5Q1/src/l5q1/Node.java 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /L06/L6Q1/SList/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/SList/src/slist/SNode.java 7 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/SList/src/slist/TestSList.java 8 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/SList/src/slist/SList.java 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /L06/L6Q2/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L6Q2/src/l6q2/StudentList.java 7 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L6Q2/src/l6q2/Node.java 8 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L6Q2/src/l6q2/TestStudentList.java 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /L06/L6Q3/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L6Q3/src/l6q3/TestMyDoublyLinkedList.java 7 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L6Q3/src/l6q3/MyDoublyLinkedList.java 8 | file:/C:/Users/Yee%20Jet%20Tan/Desktop/L6Q3/src/l6q3/Node.java 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /L03/L3Q2/src/l3q2/MyGeneric.java: -------------------------------------------------------------------------------- 1 | package l3q2; 2 | 3 | public class MyGeneric { 4 | 5 | private e item; 6 | 7 | public MyGeneric() { 8 | } 9 | 10 | public MyGeneric(e item) { 11 | this.item = item; 12 | } 13 | 14 | public e getItem() { 15 | return item; 16 | } 17 | 18 | public void setItem(e item) { 19 | this.item = item; 20 | } 21 | 22 | public static void main(String[] args) { 23 | MyGeneric strObj = new MyGeneric("Hello"); 24 | MyGeneric intObj = new MyGeneric(12345); 25 | System.out.println(strObj.getItem()); 26 | System.out.println(intObj.getItem()); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /L07/L7Q2/src/l7q2/TestIntMyStack.java: -------------------------------------------------------------------------------- 1 | package l7q2; 2 | 3 | import java.util.Scanner; 4 | 5 | public class TestIntMyStack { 6 | public static void main(String[] args) { 7 | Scanner s = new Scanner(System.in); 8 | MyStack s1 = new MyStack<>(); 9 | System.out.print("Enter an integer: "); 10 | int count = s.nextInt(); 11 | for(int i=1 ; i<=count ; i++) { 12 | s1.push(i); 13 | } 14 | 15 | System.out.println("Size of stack: " + s1.getSize()); 16 | 17 | System.out.println("Contents of stack: "); 18 | for(int i=s1.getSize() ; i>0 ; i--){ 19 | System.out.println(s1.pop()); 20 | } 21 | 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /L03/L3Q1/src/l3q1/StorePair.java: -------------------------------------------------------------------------------- 1 | package l3q1; 2 | 3 | public class StorePair { 4 | 5 | private int first, second; 6 | 7 | public StorePair(int first, int second) { 8 | this.first = first; 9 | this.second = second; 10 | } 11 | 12 | public int getFirst() { 13 | return first; 14 | } 15 | 16 | public int getSecond() { 17 | return second; 18 | } 19 | 20 | public void setPair(int first, int second) { 21 | this.first = first; 22 | this.second = second; 23 | } 24 | 25 | public String toString() { 26 | return "first = " + first + " second = " + second; 27 | } 28 | 29 | public boolean equals(T o){ 30 | return this.first==o.getFirst(); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /L05/L5Q1/src/l5q1/TestLinkedList.java: -------------------------------------------------------------------------------- 1 | package l5q1; 2 | 3 | public class TestLinkedList { 4 | 5 | public static void main(String[] args) { 6 | MyLinkedList list = new MyLinkedList<>(); 7 | list.add('a'); 8 | list.add('b'); 9 | list.add('c'); 10 | list.add('d'); 11 | list.add('e'); 12 | 13 | list.print(); 14 | 15 | list.reverse(); 16 | 17 | System.out.println(list.getSize()); 18 | 19 | System.out.println(list.getFirst()); 20 | 21 | System.out.println(list.getLast()); 22 | 23 | list.remove(list.getSize() / 2); 24 | 25 | System.out.println(list.indexOf('b')); 26 | 27 | System.out.println(list.indexOf('d')); 28 | 29 | System.out.println(list.contains('c')); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /L10/L10Q4/src/l10q4/L10Q4.java: -------------------------------------------------------------------------------- 1 | package l10q4; 2 | 3 | public class L10Q4 { 4 | 5 | public static void insertionSort(int[] arr) { 6 | 7 | // from the second element to the last 8 | for (int i = 1; i < arr.length; i++) { 9 | // insert arr[i] into a sorted array 10 | int currentElement = arr[i]; 11 | int k; 12 | for (k = i - 1; k >= 0 && arr[k] > currentElement; k--) { 13 | arr[k + 1] = arr[k]; 14 | } 15 | 16 | // insert the current element into arr[k+1] 17 | arr[k + 1] = currentElement; 18 | } 19 | 20 | } 21 | 22 | public static void main(String[] args) { 23 | int[] arr = {10, 34, 2, 56, 7, 67, 88, 42}; 24 | insertionSort(arr); 25 | for (int i : arr) { 26 | System.out.println(i); 27 | } 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /Viva3/Viva3Q1/src/labtest3q1/GenericQueue.java: -------------------------------------------------------------------------------- 1 | package labtest3q1; 2 | 3 | import java.util.LinkedList; 4 | 5 | public class GenericQueue { 6 | 7 | private java.util.LinkedList list = new java.util.LinkedList<>(); 8 | 9 | public void enqueue(E e) { 10 | list.addLast(e); 11 | } 12 | 13 | public E dequeueLast() { 14 | return list.removeLast(); 15 | } 16 | 17 | public E dequeue() { 18 | return list.removeFirst(); 19 | } 20 | 21 | public boolean isEmpty() { 22 | return list.isEmpty(); 23 | } 24 | 25 | public E peek() { 26 | return list.getFirst(); 27 | } 28 | 29 | public E peekLast() { 30 | return list.getLast(); 31 | } 32 | 33 | public int getSize() { 34 | return list.size(); 35 | } 36 | 37 | @Override 38 | public String toString() { 39 | return "Queue: " + list.toString(); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /L03/L3Q4/src/l3q4/MinMax.java: -------------------------------------------------------------------------------- 1 | package l3q4; 2 | 3 | public class MinMax { 4 | 5 | public static String minmax(T[] arr){ 6 | if (arr.length!=0){ 7 | T min = arr[0]; 8 | T max = arr[0]; 9 | 10 | for(int i=0 ; i0) 14 | max = arr[i]; 15 | } 16 | 17 | return "Min = " + min.toString() + " Max = " + max.toString(); 18 | } 19 | return null; 20 | } 21 | public static void main(String[] args) { 22 | Integer[] intArray = {5,3,7,1,4,9,8,2}; 23 | String[] strArray = {"red", "blue", "orange", "tan"}; 24 | 25 | System.out.println(minmax(intArray)); 26 | System.out.println(minmax(strArray)); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /L07/L7Q4/src/l7q4/TestPalindromeMyStack.java: -------------------------------------------------------------------------------- 1 | package l7q4; 2 | 3 | import java.util.Scanner; 4 | 5 | public class TestPalindromeMyStack { 6 | 7 | public static void main(String[] args) { 8 | Scanner s = new Scanner(System.in); 9 | MyStack s1 = new MyStack<>(); 10 | 11 | System.out.print("Enter a string: "); 12 | String str = s.next(); 13 | for (int i = 0; i < str.length(); i++) { 14 | s1.push(str.charAt(i)); 15 | } 16 | 17 | MyStack s2 = new MyStack<>(); 18 | for (int i = s1.getSize() / 2; i > 0; i--) { 19 | s2.push(s1.pop()); 20 | } 21 | 22 | if (str.length() % 2 != 0) { 23 | s1.pop(); 24 | } 25 | 26 | if (s1.toString().equals(s2.toString())) { 27 | System.out.println("String is palindrome"); 28 | } else { 29 | System.out.println("String is not palindrome"); 30 | } 31 | 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /L07/L7Q5/src/l7q5/MyStack.java: -------------------------------------------------------------------------------- 1 | package l7q5; 2 | 3 | import java.util.ArrayList; 4 | 5 | public class MyStack { 6 | 7 | private ArrayList list = new ArrayList<>(); 8 | 9 | public void push(E o) { 10 | list.add(o); 11 | } 12 | 13 | public E pop() { 14 | return list.isEmpty() ? null : list.remove(list.size() - 1); 15 | } 16 | 17 | public E peek() { 18 | return list.isEmpty() ? null : list.get(list.size() - 1); 19 | } 20 | 21 | public int getSize() { 22 | return list.size(); 23 | } 24 | 25 | public boolean isEmpty() { 26 | return list.isEmpty(); 27 | } 28 | 29 | @Override 30 | public String toString() { 31 | return "stack: " + list.toString(); 32 | } 33 | 34 | public boolean search(E o) { 35 | for (E item : list) { 36 | if (item.equals(o)) { 37 | return true; 38 | } 39 | } 40 | return false; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /L09/L9Q3/src/l9q3/MyQueue.java: -------------------------------------------------------------------------------- 1 | package l9q3; 2 | 3 | import java.util.Arrays; 4 | import java.util.LinkedList; 5 | 6 | public class MyQueue { 7 | 8 | private LinkedList list; 9 | 10 | public MyQueue(E[] e) { 11 | list = new LinkedList<>(Arrays.asList(e)); 12 | } 13 | 14 | public MyQueue() { 15 | list = new LinkedList<>(); 16 | } 17 | 18 | public void enqueue(E e) { 19 | list.add(e); 20 | } 21 | 22 | public E dequeue() { 23 | return list.removeFirst(); 24 | } 25 | 26 | public E getElement(int i) { 27 | return list.get(i); 28 | } 29 | 30 | public E peek() { 31 | return list.getFirst(); 32 | } 33 | 34 | public int getSize() { 35 | return list.size(); 36 | } 37 | 38 | public boolean contains(E e) { 39 | return list.contains(e); 40 | } 41 | 42 | public boolean isEmpty() { 43 | return list.isEmpty(); 44 | } 45 | 46 | public String toString() { 47 | return "Queue: " + list.toString(); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /L07/L7Q4/src/l7q4/MyStack.java: -------------------------------------------------------------------------------- 1 | package l7q4; 2 | 3 | import java.util.ArrayList; 4 | 5 | public class MyStack { 6 | 7 | private ArrayList list = new ArrayList<>(); 8 | 9 | public void push(E o) { 10 | list.add(o); 11 | } 12 | 13 | public E pop() { 14 | if (list.isEmpty()) { 15 | return null; 16 | } 17 | return list.remove(list.size() - 1); 18 | } 19 | 20 | public E peek() { 21 | if (list.isEmpty()) { 22 | return null; 23 | } 24 | return list.get(list.size() - 1); 25 | } 26 | 27 | public int getSize() { 28 | return list.size(); 29 | } 30 | 31 | public boolean isEmpty() { 32 | return list.isEmpty(); 33 | } 34 | 35 | @Override 36 | public String toString() { 37 | return "stack: " + list.toString(); 38 | } 39 | 40 | public boolean search(E o) { 41 | for (E item : list) { 42 | if (item.equals(o)) { 43 | return true; 44 | } 45 | } 46 | return false; 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /L09/L9Q2/src/l9q2/L9Q2.java: -------------------------------------------------------------------------------- 1 | package l9q2; 2 | 3 | public class L9Q2 { 4 | 5 | public static boolean isPalindromeQueue(String s) { 6 | 7 | // queue to store s 8 | MyQueue queue = new MyQueue<>(); 9 | for (char ch : s.toCharArray()) { 10 | queue.enqueue((Character) ch); 11 | } 12 | String first = queue.toString(); 13 | 14 | // queue to store reversed s 15 | MyQueue queue2 = new MyQueue<>(); 16 | while (!queue.isEmpty()) { 17 | queue2.enqueue(queue.dequeue()); 18 | 19 | if (queue2.getSize() > 1) { 20 | for (int i = 0; i < queue2.getSize() - 1; i++) { 21 | queue2.enqueue(queue2.dequeue()); 22 | } 23 | } 24 | } 25 | String second = queue2.toString(); 26 | 27 | return first.equals(second); 28 | } 29 | 30 | public static void main(String[] args) { 31 | System.out.println(isPalindromeQueue("java")); 32 | System.out.println(isPalindromeQueue("racecar")); 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /L07/L7Q1/src/l7q1/MyStack.java: -------------------------------------------------------------------------------- 1 | package l7q1; 2 | 3 | import java.util.ArrayList; 4 | 5 | public class MyStack{ 6 | private ArrayList list = new ArrayList<>(); 7 | 8 | public void push(E o) { 9 | list.add(o); 10 | } 11 | 12 | public E pop() { 13 | if(list.isEmpty()) { 14 | return null; 15 | } 16 | return list.remove(list.size()-1); 17 | } 18 | 19 | public E peek() { 20 | if(list.isEmpty()) { 21 | return null; 22 | } 23 | return list.get(list.size()-1); 24 | } 25 | 26 | public int getSize() { 27 | return list.size(); 28 | } 29 | 30 | public boolean isEmpty() { 31 | return list.isEmpty(); 32 | } 33 | 34 | @Override 35 | public String toString() { 36 | return "stack: " + list.toString(); 37 | } 38 | 39 | public boolean search(E o){ 40 | for (E item: list){ 41 | if(item.equals(o)){ 42 | return true; 43 | } 44 | } 45 | return false; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /L07/L7Q2/src/l7q2/MyStack.java: -------------------------------------------------------------------------------- 1 | package l7q2; 2 | 3 | import java.util.ArrayList; 4 | 5 | public class MyStack{ 6 | private ArrayList list = new ArrayList<>(); 7 | 8 | public void push(E o) { 9 | list.add(o); 10 | } 11 | 12 | public E pop() { 13 | if(list.isEmpty()) { 14 | return null; 15 | } 16 | return list.remove(list.size()-1); 17 | } 18 | 19 | public E peek() { 20 | if(list.isEmpty()) { 21 | return null; 22 | } 23 | return list.get(list.size()-1); 24 | } 25 | 26 | public int getSize() { 27 | return list.size(); 28 | } 29 | 30 | public boolean isEmpty() { 31 | return list.isEmpty(); 32 | } 33 | 34 | @Override 35 | public String toString() { 36 | return "stack: " + list.toString(); 37 | } 38 | 39 | public boolean search(E o){ 40 | for (E item: list){ 41 | if(item.equals(o)){ 42 | return true; 43 | } 44 | } 45 | return false; 46 | } 47 | } 48 | 49 | -------------------------------------------------------------------------------- /L07/L7Q3/src/l7q3/MyStack.java: -------------------------------------------------------------------------------- 1 | package l7q3; 2 | 3 | import java.util.ArrayList; 4 | 5 | public class MyStack{ 6 | private ArrayList list = new ArrayList<>(); 7 | 8 | public void push(E o) { 9 | list.add(o); 10 | } 11 | 12 | public E pop() { 13 | if(list.isEmpty()) { 14 | return null; 15 | } 16 | return list.remove(list.size()-1); 17 | } 18 | 19 | public E peek() { 20 | if(list.isEmpty()) { 21 | return null; 22 | } 23 | return list.get(list.size()-1); 24 | } 25 | 26 | public int getSize() { 27 | return list.size(); 28 | } 29 | 30 | public boolean isEmpty() { 31 | return list.isEmpty(); 32 | } 33 | 34 | @Override 35 | public String toString() { 36 | return "stack: " + list.toString(); 37 | } 38 | 39 | public boolean search(E o){ 40 | for (E item: list){ 41 | if(item.equals(o)){ 42 | return true; 43 | } 44 | } 45 | return false; 46 | } 47 | } 48 | 49 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 y33_j3T 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /L01/L1Q1/ReadMyLetter_WID180503/tanyeejet_wid180503.txt: -------------------------------------------------------------------------------- 1 | Wednesday, 20 February 2019. 2 | 3 | My name is Tan Yee Jet with matrix number, WID180503. I am majoring in Artificial Intelligence. This is my first time taking the Data Structure subject. At the moment, I am feeling pretty good about taking this subject. This is because I get to understand further how the computer's internal memory works when I run my programs. 4 | 5 | I acquired A for my previous Programming 1 course. It's not too bad. Not good either. So, I think I can manage to get A+ for this DS subject this term to make it up for the last one. In order to do well in the subject, I will spend at least an hour contributing to GitHub every day, either towards codes or documentations. Wish me luck! 6 | 7 | 29 May 2019 8 | 9 | It's me again. Finally, it's the end of the term and the DS class has finished! I think I performed pretty well in the class. I am quite happy with my performance. Learning DS has let me better understand how data are organized in computer memories. There has been no change to my target grade. I think writing clean codes and stating explanations for each function using comments was the part I did well during the course. I wish our lecturers had a better command of english and that UM could let students sign their attndance using QR codes so that the course could be done better. 10 | -------------------------------------------------------------------------------- /Viva3/Viva3Q1/src/labtest3q1/GenericStack.java: -------------------------------------------------------------------------------- 1 | package labtest3q1; 2 | 3 | public class GenericStack { 4 | 5 | private GenericQueue queue = new GenericQueue<>(); 6 | 7 | public void push(E element) { 8 | queue.enqueue(element); 9 | } 10 | 11 | public E pop() { 12 | return queue.dequeueLast(); 13 | } 14 | 15 | public E top() { 16 | return queue.peekLast(); 17 | } 18 | 19 | public static void main(String[] args) { 20 | GenericStack intStack= new GenericStack<>(); 21 | 22 | System.out.println("Push 10, 20, 30 into the stack"); 23 | intStack.push(10); 24 | intStack.push(20); 25 | intStack.push(30); 26 | 27 | System.out.println("Top element is: " + intStack.top()); 28 | 29 | System.out.println("Execute pop() operation"); 30 | intStack.pop(); 31 | 32 | System.out.println("Push 40 into the stack"); 33 | intStack.push(40); 34 | 35 | System.out.println("Push 50 into the stack"); 36 | intStack.push(50); 37 | 38 | System.out.println("Execute pop() operation"); 39 | intStack.pop(); 40 | 41 | System.out.println("Top element now is: " + intStack.top()); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /L01/L1Q1/ReadMyLetter_WID180503/tanyeejet_wid180503 - Copy.txt: -------------------------------------------------------------------------------- 1 | Wednesday, 20 February 2019. 2 | 3 | My name is Tan Yee Jet with matrix number, WID180503. I am majoring in Artificial Intelligence. This is my first time taking the Data Structure subject. At the moment, I am feeling pretty good about taking this subject. This is because I get to understand further how the computer's internal memory works when I run my programs. 4 | 5 | I acquired A for my previous Programming 1 course. It's not too bad. Not good either. So, I think I can manage to get A+ for this DS subject this term to make it up for the last one. In order to do well in the subject, I will spend at least an hour contributing to GitHub every day, either towards codes or documentations. Wish me luck! 6 | 7 | 29 May 2019 8 | 9 | It's me again. Finally, it's the end of the term and the DS class has finished! I think I performed pretty well in the class. I am quite happy with my performance. Learning DS has let me better understand how data are organized in computer memories. There has been no change to my target grade. I think writing clean codes and stating explanations for each function using comments was the part I did well during the course. I wish our lecturers had a better command of english and that UM could let students sign their attndance using QR codes so that the course could be done better. 10 | -------------------------------------------------------------------------------- /L01/L1Q1/ReadMyLetter_WID180503/src/readmyletter_wid180503/ReadMyLetter_WID180503.java: -------------------------------------------------------------------------------- 1 | package readmyletter_wid180503; 2 | 3 | import java.io.File; 4 | import java.io.FileInputStream; 5 | import java.io.FileNotFoundException; 6 | import java.io.FileOutputStream; 7 | import java.io.IOException; 8 | import java.io.PrintWriter; 9 | import java.util.Scanner; 10 | 11 | public class ReadMyLetter_WID180503 { 12 | 13 | public static void main(String[] args) { 14 | System.out.println("Input second part of letter: "); 15 | Scanner in = new Scanner(System.in); 16 | String part2 = in.nextLine(); 17 | try { 18 | PrintWriter pw = new PrintWriter(new FileOutputStream(new File("tanyeejet_wid180503.txt"), true)); 19 | pw.println(); 20 | pw.println("29 May 2019"); 21 | pw.println(); 22 | pw.println(part2); 23 | pw.close(); 24 | 25 | Scanner s = new Scanner(new FileInputStream(new File("tanyeejet_wid180503.txt"))); 26 | while (s.hasNextLine()) { 27 | System.out.println(s.nextLine()); 28 | } 29 | s.close(); 30 | } catch (FileNotFoundException e) { 31 | System.out.println("File not found."); 32 | } catch (IOException e) { 33 | System.out.println("File output error."); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /L03/L3Q6/src/l3q6/MinMaxTwoDArray.java: -------------------------------------------------------------------------------- 1 | package l3q6; 2 | 3 | import java.util.ArrayList; 4 | 5 | public class MinMaxTwoDArray { 6 | public static > E min(E[][] list){ 7 | ArrayList array = new ArrayList<>(); 8 | for(int i = 0; i < list.length; i++){ 9 | for(int j = 0; j < list[i].length; j++){ 10 | array.add(list[i][j]); 11 | } 12 | } 13 | E min = array.get(0); 14 | for(int i = 1; i < array.size(); i++){ 15 | if(array.get(i).compareTo(min) < 0){ 16 | min = array.get(i); 17 | } 18 | } 19 | return min; 20 | } 21 | 22 | public static > E max(E[][] list){ 23 | ArrayList array = new ArrayList<>(); 24 | for(int i = 0; i < list.length; i++){ 25 | for(int j = 0;j < list[i].length; j++){ 26 | array.add(list[i][j]); 27 | } 28 | } 29 | E max = array.get(0); 30 | for(int i = 1; i < array.size(); i++){ 31 | if(array.get(i).compareTo(max) >= 0) 32 | max = array.get(i); 33 | } 34 | return max; 35 | } 36 | 37 | public static void main(String[] args) { 38 | Integer[][] array = {{4, 5, 6}, {1, 2, 3}}; 39 | System.out.println(min(array)); 40 | System.out.println(max(array)); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /L01/L1Q4/Account1/src/account1/Transaction.java: -------------------------------------------------------------------------------- 1 | package account1; 2 | 3 | import java.util.Date; 4 | 5 | public class Transaction { 6 | private Date date; 7 | private char type; 8 | private double amount; 9 | private double balance; 10 | private String description; 11 | 12 | public Transaction(char type, double amount, double balance, String description) { 13 | this.type = type; 14 | this.amount = amount; 15 | this.balance = balance; 16 | this.description = description; 17 | this.date = new Date(); 18 | } 19 | 20 | public Date getDate() { 21 | return date; 22 | } 23 | 24 | public void setDate(Date date) { 25 | this.date = date; 26 | } 27 | 28 | public char getType() { 29 | return type; 30 | } 31 | 32 | public void setType(char type) { 33 | this.type = type; 34 | } 35 | 36 | public double getAmount() { 37 | return amount; 38 | } 39 | 40 | public void setAmount(double amount) { 41 | this.amount = amount; 42 | } 43 | 44 | public double getBalance() { 45 | return balance; 46 | } 47 | 48 | public void setBalance(double balance) { 49 | this.balance = balance; 50 | } 51 | 52 | public String getDescription() { 53 | return description; 54 | } 55 | 56 | public void setDescription(String description) { 57 | this.description = description; 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /L03/L3Q5/src/l3q5/FindMax.java: -------------------------------------------------------------------------------- 1 | package l3q5; 2 | 3 | public class FindMax { 4 | 5 | private static class Circle implements Comparable { 6 | 7 | double radius; 8 | 9 | public Circle(double radius) { 10 | this.radius = radius; 11 | } 12 | 13 | @Override 14 | public int compareTo(Circle o) { 15 | if(this.radius>o.radius) 16 | return 1; 17 | else if (this.radius> E max (E[] list){ 31 | if(list.length!=0){ 32 | E max = list[0]; 33 | for (E obj : list) { 34 | if (obj.compareTo(max) > 0) { 35 | max = obj; 36 | } 37 | } 38 | return max; 39 | } 40 | return null; 41 | } 42 | 43 | public static void main(String[] args) { 44 | Integer[] intArr = {1, 2, 3}; 45 | String[] strArr = {"red", "green", "blue"}; 46 | Circle[] cirArr = {new Circle(3), new Circle(2.9), new Circle(5.9)}; 47 | 48 | System.out.println(max(intArr)); 49 | System.out.println(max(strArr)); 50 | System.out.println(max(cirArr)); 51 | } 52 | 53 | } 54 | -------------------------------------------------------------------------------- /L06/L6Q1/SList/src/slist/SList.java: -------------------------------------------------------------------------------- 1 | package slist; 2 | 3 | public class SList { 4 | 5 | int size = 0; 6 | SNode head = null; 7 | SNode tail = null; 8 | 9 | public void appendEnd(E e) { 10 | if (tail == null) { 11 | head = tail = new SNode(e); 12 | } else { 13 | tail.next = new SNode(e); 14 | tail = tail.next; 15 | } 16 | size++; 17 | } 18 | 19 | public E removeInitial() { 20 | if (size == 0) { 21 | return null; 22 | } else { 23 | SNode temp = head; 24 | head = head.next; 25 | size--; 26 | return temp.element; 27 | } 28 | } 29 | 30 | public boolean contains(E e) { 31 | SNode current = head; 32 | for (int i = 0; i < size; i++) { 33 | if (current.element == e) { 34 | return true; 35 | } 36 | current = current.next; 37 | } 38 | return false; 39 | } 40 | 41 | public void clear() { 42 | SNode temp; 43 | while(head != null) { 44 | temp = head.next; 45 | head.next = null; 46 | head = temp; 47 | } 48 | size = 0; 49 | System.out.println("The list is empty"); 50 | } 51 | 52 | public void display() { 53 | SNode current = head; 54 | for (int i = 0; i < size; i++) { 55 | System.out.println(current.element); 56 | current = current.next; 57 | } 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /L03/L3Q1/src/l3q1/StorePairGeneric.java: -------------------------------------------------------------------------------- 1 | package l3q1; 2 | 3 | public class StorePairGeneric> implements Comparable> { 4 | 5 | private T first, second; 6 | 7 | public StorePairGeneric(T first, T second) { 8 | this.first = first; 9 | this.second = second; 10 | } 11 | 12 | public T getFirst() { 13 | return first; 14 | } 15 | 16 | public T getSecond() { 17 | return second; 18 | } 19 | 20 | public void setPair(T first, T second) { 21 | this.first = first; 22 | this.second = second; 23 | } 24 | 25 | public boolean equals(StorePairGeneric o){ 26 | return this.first == o.first; 27 | } 28 | 29 | @Override 30 | public int compareTo(StorePairGeneric o) { 31 | return this.first.compareTo(o.first); 32 | } 33 | 34 | @Override 35 | public String toString() { 36 | return "first = " + first + " second = " + second; 37 | } 38 | 39 | public static void main(String[] args) { 40 | StorePairGeneric a = new StorePairGeneric<>(6, 4); 41 | StorePairGeneric b = new StorePairGeneric<>(2, 2); 42 | StorePairGeneric c = new StorePairGeneric<>(6, 3); 43 | 44 | System.out.println(a.compareTo(b)); 45 | System.out.println(a.compareTo(c)); 46 | System.out.println(b.compareTo(c)); 47 | System.out.println(a.equals(b)); 48 | System.out.println(a.equals(c)); 49 | System.out.println(b.equals(c)); 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /L11/L11Q1/src/BST/TestBST.java: -------------------------------------------------------------------------------- 1 | package BST; 2 | 3 | import java.util.Arrays; 4 | 5 | public class TestBST { 6 | 7 | public static void main(String[] args) { 8 | Integer[] arr = {45, 88, 54, 76, 98, 1, 2, 20, 6, 53, 42, 100, 86, 32, 28, 65, 14}; 9 | String data = Arrays.toString(arr).replace("[", "").replace("]", ""); 10 | System.out.println("Input Data: " + data); 11 | 12 | BST tree = new BST(arr); 13 | 14 | System.out.print("Inorder (sorted): "); 15 | tree.inorder(tree.getRoot()); 16 | System.out.println(); 17 | 18 | System.out.print("Postorder (sorted): "); 19 | tree.postorder(tree.getRoot()); 20 | System.out.println(); 21 | 22 | System.out.print("Preorder (sorted): "); 23 | tree.preorder(tree.getRoot()); 24 | System.out.println(); 25 | 26 | System.out.println("Height of BST: " + tree.height()); 27 | 28 | System.out.println("Root of BST: " + tree.getRootElement()); 29 | 30 | System.out.println("Check whether 10 is in the tree? " + tree.search(10)); 31 | 32 | System.out.println("Delete 53"); 33 | tree.delete(53); 34 | 35 | System.out.print("Updated Inorder data (sorted): "); 36 | tree.inorder(tree.getRoot()); 37 | System.out.println(); 38 | 39 | System.out.println("Min Value: " + tree.minValue()); 40 | 41 | System.out.println("Max Value: " + tree.maxValue()); 42 | 43 | System.out.println("A path from the root to 6 is: " + tree.pathAsStr(6)); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # WIA1002 Data Structure 2 | My solutions for the lab works of the stated course. 3 | 4 | ## Contents 5 | - [Introduction](#Introduction) 6 | - [Laboratories](#Laboratories) 7 | - [Note](#Note) 8 | - [Contributing](#Contributing) 9 | - [License](#License) 10 | 11 | ## Introduction 12 | Data structure was one of the courses I took during my studies in [University of Malaya, Malaysia][1] under the [Faculty of Computer Science and Information Technology][2]. It was conducted using Java. This repository consists of my solutions on the labaratories of the course as of June 2019. 13 | 14 | ## Laboratories 15 | - [L01 Programming Fundamentals](./L01) 16 | - [L02 Recursion](./L02) 17 | - [L03 Generics](./L03) 18 | - [L04 ADT & Bags](./L04) 19 | - [L05 Linked List](./L05) 20 | - [L06 Linked List (2)](./L06) 21 | - [L07 Stacks](./L07) 22 | - [L08](./L08) 23 | - [L09 Queue](./L09) 24 | - [L10 Searching & Sorting](./L10) 25 | - [L11 Binary Search Tree](./L11) 26 | - [L12 Heap](./L12) 27 | - [Viva1](./Viva1) 28 | - [Viva2](./Viva2) 29 | - [Viva3](./Viva3) 30 | 31 | ## Notes 32 | - Questions for each lab can be found in the `Lab(number).pdf` file of each folder. 33 | - Additional data or input/ouput files in the form of `.txt` or `.dat` for each lab are included in their respective folders. 34 | 35 | ## Contributing 36 | - Please refer to [CONTRIBUTE.md](./CONTRIBUTE.md) for details. :heart_eyes: 37 | 38 | ## License 39 | Data Structure is released under the [MIT license](./LICENSE). 40 | 41 | [1]: https://www.um.edu.my/ 42 | [2]: http://www.fsktm.um.edu.my/ 43 | 44 |

45 | 46 |

47 | -------------------------------------------------------------------------------- /L09/L9Q1/src/l9q1/MyQueue.java: -------------------------------------------------------------------------------- 1 | package l9q1; 2 | 3 | import java.util.Arrays; 4 | import java.util.LinkedList; 5 | 6 | public class MyQueue { 7 | 8 | private LinkedList list; 9 | 10 | public MyQueue(E[] e) { 11 | list = new LinkedList<>(Arrays.asList(e)); 12 | } 13 | 14 | public MyQueue() { 15 | list = new LinkedList<>(); 16 | } 17 | 18 | public void enqueue(E e) { 19 | list.add(e); 20 | } 21 | 22 | public E dequeue() { 23 | return list.removeFirst(); 24 | } 25 | 26 | public E getElement(int i) { 27 | return list.get(i); 28 | } 29 | 30 | public E peek() { 31 | return list.getFirst(); 32 | } 33 | 34 | public int getSize() { 35 | return list.size(); 36 | } 37 | 38 | public boolean contains(E e) { 39 | return list.contains(e); 40 | } 41 | 42 | public boolean isEmpty() { 43 | return list.isEmpty(); 44 | } 45 | 46 | public String toString() { 47 | return list.toString(); 48 | } 49 | 50 | public static void main(String[] args) { 51 | MyQueue fruitQ = new MyQueue(new Object[]{"Durian", "Blueberry"}); 52 | fruitQ.enqueue("Apple"); 53 | fruitQ.enqueue("Orange"); 54 | fruitQ.enqueue("Grapes"); 55 | fruitQ.enqueue("Cherry"); 56 | 57 | System.out.println(fruitQ); 58 | System.out.println(fruitQ.peek()); 59 | System.out.println(fruitQ.getSize()); 60 | fruitQ.dequeue(); 61 | System.out.println(fruitQ.getElement(2)); 62 | System.out.println(fruitQ.contains("Cherry")); 63 | System.out.println(fruitQ.contains("Durian")); 64 | System.out.println(fruitQ.isEmpty()); 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /L09/L9Q2/src/l9q2/MyQueue.java: -------------------------------------------------------------------------------- 1 | package l9q2; 2 | 3 | import java.util.Arrays; 4 | import java.util.LinkedList; 5 | 6 | public class MyQueue { 7 | 8 | private LinkedList list; 9 | 10 | public MyQueue(E[] e) { 11 | list = new LinkedList<>(Arrays.asList(e)); 12 | } 13 | 14 | public MyQueue() { 15 | list = new LinkedList<>(); 16 | } 17 | 18 | public void enqueue(E e) { 19 | list.add(e); 20 | } 21 | 22 | public E dequeue() { 23 | return list.removeFirst(); 24 | } 25 | 26 | public E getElement(int i) { 27 | return list.get(i); 28 | } 29 | 30 | public E peek() { 31 | return list.getFirst(); 32 | } 33 | 34 | public int getSize() { 35 | return list.size(); 36 | } 37 | 38 | public boolean contains(E e) { 39 | return list.contains(e); 40 | } 41 | 42 | public boolean isEmpty() { 43 | return list.isEmpty(); 44 | } 45 | 46 | public String toString() { 47 | return list.toString(); 48 | } 49 | 50 | public static void main(String[] args) { 51 | MyQueue fruitQ = new MyQueue(new Object[]{"Durian", "Blueberry"}); 52 | fruitQ.enqueue("Apple"); 53 | fruitQ.enqueue("Orange"); 54 | fruitQ.enqueue("Grapes"); 55 | fruitQ.enqueue("Cherry"); 56 | 57 | System.out.println(fruitQ); 58 | System.out.println(fruitQ.peek()); 59 | System.out.println(fruitQ.getSize()); 60 | fruitQ.dequeue(); 61 | System.out.println(fruitQ.getElement(2)); 62 | System.out.println(fruitQ.contains("Cherry")); 63 | System.out.println(fruitQ.contains("Durian")); 64 | System.out.println(fruitQ.isEmpty()); 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /L04/L4Q1/src/l4q1/BagInterface.java: -------------------------------------------------------------------------------- 1 | package l4q1; 2 | 3 | public interface BagInterface { 4 | 5 | /** Gets the current number of entries in this bag. 6 | @return the integer number of entries currently in the bag */ 7 | public int getCurrentSize(); 8 | 9 | /** Sees whether this bag is full. 10 | @return true if the bag is full, or false if not */ 11 | public boolean isFull(); 12 | 13 | /** Sees whether this bag is empty. 14 | @return true if the bag is empty, or false if not */ 15 | public boolean isEmpty(); 16 | 17 | /** Adds a new entry to this bag. 18 | @param newEntry the object to be added as a new entry 19 | @return true if the addition is successful, or false if not */ 20 | public boolean add(T newEntry); 21 | 22 | /** Removes one unspecified entry from this bag, if possible. 23 | @return either the removed entry, if the removal was successful, or null */ 24 | public T remove(); 25 | 26 | /** Removes one occurrence of a given entry from this bag. 27 | @param anEntry the entry to be removed 28 | @return true if the removal was successful, or false if not */ 29 | public boolean remove(T anEntry); 30 | 31 | /** Removes all entries from this bag.*/ 32 | public void clear(); 33 | 34 | /** Counts the number of times a given entry appears in this bag. 35 | @param anEntry the entry to be counted 36 | @return the number of times anEntry appears in the bag */ 37 | public int getFrequencyOf(T anEntry); 38 | 39 | /** Tests whether this bag contains a given entry. 40 | @param anEntry the entry to locate 41 | @return true if this bag contains anEntry, or false otherwise */ 42 | public boolean contains(T anEntry); 43 | 44 | /**Retrieves all entries that are in this bag. 45 | @return a newly allocated array of all the entries in the bag */ 46 | public T[] toArray(); 47 | } // end BagInterface 48 | -------------------------------------------------------------------------------- /L10/L10Q1-2-3/src/l10q1/pkg2/pkg3/L10Q123.java: -------------------------------------------------------------------------------- 1 | package l10q1.pkg2.pkg3; 2 | 3 | public class L10Q123 { 4 | 5 | public static void selectionSortSmallest(int[] arr) { 6 | 7 | for (int i = 0; i < arr.length - 1; i++) { 8 | // find minimum in the arr[i...arr.length-1] 9 | int currentMin = arr[i]; 10 | int currentMinIndex = i; 11 | for (int j = i + 1; j < arr.length; j++) { 12 | if (currentMin > arr[j]) { 13 | currentMin = arr[j]; 14 | currentMinIndex = j; 15 | } 16 | } 17 | 18 | // swap arr[i] with arr[currentMinIndex] if necessary 19 | if (currentMinIndex != i) { 20 | arr[currentMinIndex] = arr[i]; 21 | arr[i] = currentMin; 22 | } 23 | } 24 | } 25 | 26 | public static void selectionSortLargest(int[] arr) { 27 | 28 | for (int i = 0; i < arr.length - 1; i++) { 29 | // find maximum in the arr[i...arr.length-1] 30 | int currentMax = arr[i]; 31 | int currentMaxIndex = i; 32 | for (int j = i + 1; j < arr.length; j++) { 33 | if (currentMax < arr[j]) { 34 | currentMax = arr[j]; 35 | currentMaxIndex = j; 36 | } 37 | } 38 | 39 | // swap arr[i] with arr[currentMaxIndex] if necessary 40 | if (currentMaxIndex != i) { 41 | arr[currentMaxIndex] = arr[i]; 42 | arr[i] = currentMax; 43 | } 44 | } 45 | } 46 | 47 | public static void main(String[] args) { 48 | int[] arr = {56, 7, 2, 8, 19, 3}; 49 | 50 | selectionSortSmallest(arr); 51 | for (int i : arr) { 52 | System.out.println(i); 53 | } 54 | 55 | selectionSortLargest(arr); 56 | for (int i : arr) { 57 | System.out.println(i); 58 | } 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /L01/L1Q3/Account/src/account/Account.java: -------------------------------------------------------------------------------- 1 | package account; 2 | 3 | import java.util.Date; 4 | 5 | public class Account { 6 | private int id = 0; 7 | private double balance = 0; 8 | private static double annualInterestRate = 0; 9 | private Date dateCreated; 10 | 11 | public Account() { 12 | this.dateCreated = new Date(); 13 | } 14 | 15 | public Account(int id, double initialBalance){ 16 | this.id = id; 17 | this.balance = initialBalance; 18 | this.dateCreated = new Date(); 19 | } 20 | 21 | public int getId() { 22 | return id; 23 | } 24 | 25 | public void setId(int id) { 26 | this.id = id; 27 | } 28 | 29 | public double getBalance() { 30 | return balance; 31 | } 32 | 33 | public void setBalance(double balance) { 34 | this.balance = balance; 35 | } 36 | 37 | public static double getAnnualInterestRate() { 38 | return annualInterestRate; 39 | } 40 | 41 | public static void setAnnualInterestRate(double annualInterestRate) { 42 | Account.annualInterestRate = annualInterestRate; 43 | } 44 | 45 | public Date getDateCreated(){ 46 | return dateCreated; 47 | } 48 | 49 | public double getMonthlyInterestRate(){ 50 | return annualInterestRate/12; 51 | } 52 | 53 | public double getMonthlyInterest(){ 54 | return balance * this.getMonthlyInterestRate(); 55 | } 56 | 57 | public void withdraw(double amount){ 58 | balance-=amount; 59 | } 60 | 61 | public void deposit(double amount){ 62 | balance+=amount; 63 | } 64 | 65 | public static void main(String[] args) { 66 | Account a = new Account(1122, 20000); 67 | Account.setAnnualInterestRate(0.045); 68 | a.withdraw(2500); 69 | a.deposit(3000); 70 | System.out.println("Balance: " + a.getBalance()); 71 | System.out.println("Monthly Interest: " + a.getMonthlyInterest()); 72 | System.out.println("Date Created: " + a.getDateCreated()); 73 | } 74 | 75 | } 76 | -------------------------------------------------------------------------------- /L04/L4Q5/src/l4q5/ArrayBagDemo.java: -------------------------------------------------------------------------------- 1 | package l4q5; 2 | 3 | public class ArrayBagDemo extends ArrayBag { 4 | 5 | private static void testAdd(BagInterface aBag, String[] content) { 6 | for (String str : content) { 7 | aBag.add(str); 8 | } 9 | 10 | Object[] src = aBag.toArray(); 11 | String[] dest = new String[src.length]; 12 | System.arraycopy(src, 0, dest, 0, src.length); 13 | 14 | System.out.print("Adding "); 15 | for (String items : dest) { 16 | System.out.print(items + " "); 17 | } 18 | System.out.println(); 19 | } 20 | 21 | private static void displayBag(BagInterface aBag) { 22 | System.out.println("The bag contains " + aBag.getCurrentSize() + " string(s), as follows: "); 23 | Object[] src = aBag.toArray(); 24 | String[] dest = new String[src.length]; 25 | System.arraycopy(src, 0, dest, 0, src.length); 26 | for (String items : dest) { 27 | System.out.print(items + " "); 28 | } 29 | System.out.println(); 30 | System.out.println(); 31 | } 32 | 33 | public static void main(String[] args) { 34 | ArrayBag bag1 = new ArrayBag<>(); 35 | ArrayBag bag2 = new ArrayBag<>(); 36 | 37 | System.out.println("bag1: "); 38 | String[] contentsOfBag1 = {"A", "A", "B", "A", "C", "A"}; 39 | testAdd(bag1, contentsOfBag1); 40 | displayBag(bag1); 41 | 42 | System.out.println("bag2: "); 43 | String[] contentsOfBag2 = {"A", "B", "A", "C", "B", "C", "D", "another string"}; 44 | testAdd(bag2, contentsOfBag2); 45 | displayBag(bag2); 46 | 47 | ArrayBag bag3 = (ArrayBag) bag1.union(bag2); 48 | System.out.println("bag3, test the method union of bag1 and bag2: "); 49 | displayBag(bag3); 50 | 51 | System.out.println("bag4, test the method intersection of bag1 and bag2: "); 52 | ArrayBag bag4 = (ArrayBag) bag1.intersection(bag2); 53 | displayBag(bag4); 54 | 55 | System.out.println("bag5, test the method difference of bag1 and bag2: "); 56 | ArrayBag bag5 = (ArrayBag) bag1.difference(bag2); 57 | displayBag(bag5); 58 | } 59 | 60 | } 61 | -------------------------------------------------------------------------------- /L04/L4Q2/src/l4q2/BagInterface.java: -------------------------------------------------------------------------------- 1 | package l4q2; 2 | 3 | public interface BagInterface { 4 | 5 | /** Gets the current number of entries in this bag. 6 | @return the integer number of entries currently in the bag */ 7 | public int getCurrentSize(); 8 | 9 | /** Sees whether this bag is full. 10 | @return true if the bag is full, or false if not */ 11 | public boolean isFull(); 12 | 13 | /** Sees whether this bag is empty. 14 | @return true if the bag is empty, or false if not */ 15 | public boolean isEmpty(); 16 | 17 | /** Adds a new entry to this bag. 18 | @param newEntry the object to be added as a new entry 19 | @return true if the addition is successful, or false if not */ 20 | public boolean add(T newEntry); 21 | 22 | /** Removes one unspecified entry from this bag, if possible. 23 | @return either the removed entry, if the removal was successful, or null */ 24 | public T remove(); 25 | 26 | /** Removes one occurrence of a given entry from this bag. 27 | @param anEntry the entry to be removed 28 | @return true if the removal was successful, or false if not */ 29 | public boolean remove(T anEntry); 30 | 31 | /** Removes all entries from this bag.*/ 32 | public void clear(); 33 | 34 | /** Counts the number of times a given entry appears in this bag. 35 | @param anEntry the entry to be counted 36 | @return the number of times anEntry appears in the bag */ 37 | public int getFrequencyOf(T anEntry); 38 | 39 | /** Tests whether this bag contains a given entry. 40 | @param anEntry the entry to locate 41 | @return true if this bag contains anEntry, or false otherwise */ 42 | public boolean contains(T anEntry); 43 | 44 | /** Retrieves all entries that are in this bag. 45 | @return a newly allocated array of all the entries in the bag */ 46 | public T[] toArray(); 47 | 48 | /** Retrieve a new bag containing items in both the bag receiving the call 49 | to the method and the bag that is the method’s argument 50 | @param anotherBag the items from another bag to be added 51 | @return a new bag containing item from both original and another bag */ 52 | public BagInterface union(BagInterface anotherBag); 53 | 54 | } // end BagInterface 55 | 56 | -------------------------------------------------------------------------------- /L01/L1Q2/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | annotation.processing.enabled=true 2 | annotation.processing.enabled.in.editor=false 3 | annotation.processing.processor.options= 4 | annotation.processing.processors.list= 5 | annotation.processing.run.all.processors=true 6 | annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output 7 | build.classes.dir=${build.dir}/classes 8 | build.classes.excludes=**/*.java,**/*.form 9 | # This directory is removed when the project is cleaned: 10 | build.dir=build 11 | build.generated.dir=${build.dir}/generated 12 | build.generated.sources.dir=${build.dir}/generated-sources 13 | # Only compile against the classpath explicitly listed here: 14 | build.sysclasspath=ignore 15 | build.test.classes.dir=${build.dir}/test/classes 16 | build.test.results.dir=${build.dir}/test/results 17 | # Uncomment to specify the preferred debugger connection transport: 18 | #debug.transport=dt_socket 19 | debug.classpath=\ 20 | ${run.classpath} 21 | debug.test.classpath=\ 22 | ${run.test.classpath} 23 | # Files in build.classes.dir which should be excluded from distribution jar 24 | dist.archive.excludes= 25 | # This directory is removed when the project is cleaned: 26 | dist.dir=dist 27 | dist.jar=${dist.dir}/L1Q2.jar 28 | dist.javadoc.dir=${dist.dir}/javadoc 29 | excludes= 30 | includes=** 31 | jar.compress=false 32 | javac.classpath= 33 | # Space-separated list of extra javac options 34 | javac.compilerargs= 35 | javac.deprecation=false 36 | javac.external.vm=true 37 | javac.processorpath=\ 38 | ${javac.classpath} 39 | javac.source=1.8 40 | javac.target=1.8 41 | javac.test.classpath=\ 42 | ${javac.classpath}:\ 43 | ${build.classes.dir} 44 | javac.test.processorpath=\ 45 | ${javac.test.classpath} 46 | javadoc.additionalparam= 47 | javadoc.author=false 48 | javadoc.encoding=${source.encoding} 49 | javadoc.noindex=false 50 | javadoc.nonavbar=false 51 | javadoc.notree=false 52 | javadoc.private=false 53 | javadoc.splitindex=true 54 | javadoc.use=true 55 | javadoc.version=false 56 | javadoc.windowtitle= 57 | main.class=l1q2.L1Q2 58 | manifest.file=manifest.mf 59 | meta.inf.dir=${src.dir}/META-INF 60 | mkdist.disabled=false 61 | platform.active=default_platform 62 | run.classpath=\ 63 | ${javac.classpath}:\ 64 | ${build.classes.dir} 65 | # Space-separated list of JVM arguments used when running the project. 66 | # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. 67 | # To set system properties for unit tests define test-sys-prop.name=value: 68 | run.jvmargs= 69 | run.test.classpath=\ 70 | ${javac.test.classpath}:\ 71 | ${build.test.classes.dir} 72 | source.encoding=UTF-8 73 | src.dir=src 74 | test.src.dir=test 75 | -------------------------------------------------------------------------------- /L02/L2Q1/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | annotation.processing.enabled=true 2 | annotation.processing.enabled.in.editor=false 3 | annotation.processing.processor.options= 4 | annotation.processing.processors.list= 5 | annotation.processing.run.all.processors=true 6 | annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output 7 | build.classes.dir=${build.dir}/classes 8 | build.classes.excludes=**/*.java,**/*.form 9 | # This directory is removed when the project is cleaned: 10 | build.dir=build 11 | build.generated.dir=${build.dir}/generated 12 | build.generated.sources.dir=${build.dir}/generated-sources 13 | # Only compile against the classpath explicitly listed here: 14 | build.sysclasspath=ignore 15 | build.test.classes.dir=${build.dir}/test/classes 16 | build.test.results.dir=${build.dir}/test/results 17 | # Uncomment to specify the preferred debugger connection transport: 18 | #debug.transport=dt_socket 19 | debug.classpath=\ 20 | ${run.classpath} 21 | debug.test.classpath=\ 22 | ${run.test.classpath} 23 | # Files in build.classes.dir which should be excluded from distribution jar 24 | dist.archive.excludes= 25 | # This directory is removed when the project is cleaned: 26 | dist.dir=dist 27 | dist.jar=${dist.dir}/L2Q1.jar 28 | dist.javadoc.dir=${dist.dir}/javadoc 29 | excludes= 30 | includes=** 31 | jar.compress=false 32 | javac.classpath= 33 | # Space-separated list of extra javac options 34 | javac.compilerargs= 35 | javac.deprecation=false 36 | javac.external.vm=true 37 | javac.processorpath=\ 38 | ${javac.classpath} 39 | javac.source=1.8 40 | javac.target=1.8 41 | javac.test.classpath=\ 42 | ${javac.classpath}:\ 43 | ${build.classes.dir} 44 | javac.test.processorpath=\ 45 | ${javac.test.classpath} 46 | javadoc.additionalparam= 47 | javadoc.author=false 48 | javadoc.encoding=${source.encoding} 49 | javadoc.noindex=false 50 | javadoc.nonavbar=false 51 | javadoc.notree=false 52 | javadoc.private=false 53 | javadoc.splitindex=true 54 | javadoc.use=true 55 | javadoc.version=false 56 | javadoc.windowtitle= 57 | main.class=l2q1.L2Q1 58 | manifest.file=manifest.mf 59 | meta.inf.dir=${src.dir}/META-INF 60 | mkdist.disabled=false 61 | platform.active=default_platform 62 | run.classpath=\ 63 | ${javac.classpath}:\ 64 | ${build.classes.dir} 65 | # Space-separated list of JVM arguments used when running the project. 66 | # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. 67 | # To set system properties for unit tests define test-sys-prop.name=value: 68 | run.jvmargs= 69 | run.test.classpath=\ 70 | ${javac.test.classpath}:\ 71 | ${build.test.classes.dir} 72 | source.encoding=UTF-8 73 | src.dir=src 74 | test.src.dir=test 75 | -------------------------------------------------------------------------------- /L02/L2Q2/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | annotation.processing.enabled=true 2 | annotation.processing.enabled.in.editor=false 3 | annotation.processing.processor.options= 4 | annotation.processing.processors.list= 5 | annotation.processing.run.all.processors=true 6 | annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output 7 | build.classes.dir=${build.dir}/classes 8 | build.classes.excludes=**/*.java,**/*.form 9 | # This directory is removed when the project is cleaned: 10 | build.dir=build 11 | build.generated.dir=${build.dir}/generated 12 | build.generated.sources.dir=${build.dir}/generated-sources 13 | # Only compile against the classpath explicitly listed here: 14 | build.sysclasspath=ignore 15 | build.test.classes.dir=${build.dir}/test/classes 16 | build.test.results.dir=${build.dir}/test/results 17 | # Uncomment to specify the preferred debugger connection transport: 18 | #debug.transport=dt_socket 19 | debug.classpath=\ 20 | ${run.classpath} 21 | debug.test.classpath=\ 22 | ${run.test.classpath} 23 | # Files in build.classes.dir which should be excluded from distribution jar 24 | dist.archive.excludes= 25 | # This directory is removed when the project is cleaned: 26 | dist.dir=dist 27 | dist.jar=${dist.dir}/L2Q2.jar 28 | dist.javadoc.dir=${dist.dir}/javadoc 29 | excludes= 30 | includes=** 31 | jar.compress=false 32 | javac.classpath= 33 | # Space-separated list of extra javac options 34 | javac.compilerargs= 35 | javac.deprecation=false 36 | javac.external.vm=true 37 | javac.processorpath=\ 38 | ${javac.classpath} 39 | javac.source=1.8 40 | javac.target=1.8 41 | javac.test.classpath=\ 42 | ${javac.classpath}:\ 43 | ${build.classes.dir} 44 | javac.test.processorpath=\ 45 | ${javac.test.classpath} 46 | javadoc.additionalparam= 47 | javadoc.author=false 48 | javadoc.encoding=${source.encoding} 49 | javadoc.noindex=false 50 | javadoc.nonavbar=false 51 | javadoc.notree=false 52 | javadoc.private=false 53 | javadoc.splitindex=true 54 | javadoc.use=true 55 | javadoc.version=false 56 | javadoc.windowtitle= 57 | main.class=l2q2.L2Q2 58 | manifest.file=manifest.mf 59 | meta.inf.dir=${src.dir}/META-INF 60 | mkdist.disabled=false 61 | platform.active=default_platform 62 | run.classpath=\ 63 | ${javac.classpath}:\ 64 | ${build.classes.dir} 65 | # Space-separated list of JVM arguments used when running the project. 66 | # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. 67 | # To set system properties for unit tests define test-sys-prop.name=value: 68 | run.jvmargs= 69 | run.test.classpath=\ 70 | ${javac.test.classpath}:\ 71 | ${build.test.classes.dir} 72 | source.encoding=UTF-8 73 | src.dir=src 74 | test.src.dir=test 75 | -------------------------------------------------------------------------------- /L02/L2Q3/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | annotation.processing.enabled=true 2 | annotation.processing.enabled.in.editor=false 3 | annotation.processing.processor.options= 4 | annotation.processing.processors.list= 5 | annotation.processing.run.all.processors=true 6 | annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output 7 | build.classes.dir=${build.dir}/classes 8 | build.classes.excludes=**/*.java,**/*.form 9 | # This directory is removed when the project is cleaned: 10 | build.dir=build 11 | build.generated.dir=${build.dir}/generated 12 | build.generated.sources.dir=${build.dir}/generated-sources 13 | # Only compile against the classpath explicitly listed here: 14 | build.sysclasspath=ignore 15 | build.test.classes.dir=${build.dir}/test/classes 16 | build.test.results.dir=${build.dir}/test/results 17 | # Uncomment to specify the preferred debugger connection transport: 18 | #debug.transport=dt_socket 19 | debug.classpath=\ 20 | ${run.classpath} 21 | debug.test.classpath=\ 22 | ${run.test.classpath} 23 | # Files in build.classes.dir which should be excluded from distribution jar 24 | dist.archive.excludes= 25 | # This directory is removed when the project is cleaned: 26 | dist.dir=dist 27 | dist.jar=${dist.dir}/L2Q3.jar 28 | dist.javadoc.dir=${dist.dir}/javadoc 29 | excludes= 30 | includes=** 31 | jar.compress=false 32 | javac.classpath= 33 | # Space-separated list of extra javac options 34 | javac.compilerargs= 35 | javac.deprecation=false 36 | javac.external.vm=true 37 | javac.processorpath=\ 38 | ${javac.classpath} 39 | javac.source=1.8 40 | javac.target=1.8 41 | javac.test.classpath=\ 42 | ${javac.classpath}:\ 43 | ${build.classes.dir} 44 | javac.test.processorpath=\ 45 | ${javac.test.classpath} 46 | javadoc.additionalparam= 47 | javadoc.author=false 48 | javadoc.encoding=${source.encoding} 49 | javadoc.noindex=false 50 | javadoc.nonavbar=false 51 | javadoc.notree=false 52 | javadoc.private=false 53 | javadoc.splitindex=true 54 | javadoc.use=true 55 | javadoc.version=false 56 | javadoc.windowtitle= 57 | main.class=l2q3.L2Q3 58 | manifest.file=manifest.mf 59 | meta.inf.dir=${src.dir}/META-INF 60 | mkdist.disabled=false 61 | platform.active=default_platform 62 | run.classpath=\ 63 | ${javac.classpath}:\ 64 | ${build.classes.dir} 65 | # Space-separated list of JVM arguments used when running the project. 66 | # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. 67 | # To set system properties for unit tests define test-sys-prop.name=value: 68 | run.jvmargs= 69 | run.test.classpath=\ 70 | ${javac.test.classpath}:\ 71 | ${build.test.classes.dir} 72 | source.encoding=UTF-8 73 | src.dir=src 74 | test.src.dir=test 75 | -------------------------------------------------------------------------------- /L03/L3Q4/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | annotation.processing.enabled=true 2 | annotation.processing.enabled.in.editor=false 3 | annotation.processing.processor.options= 4 | annotation.processing.processors.list= 5 | annotation.processing.run.all.processors=true 6 | annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output 7 | build.classes.dir=${build.dir}/classes 8 | build.classes.excludes=**/*.java,**/*.form 9 | # This directory is removed when the project is cleaned: 10 | build.dir=build 11 | build.generated.dir=${build.dir}/generated 12 | build.generated.sources.dir=${build.dir}/generated-sources 13 | # Only compile against the classpath explicitly listed here: 14 | build.sysclasspath=ignore 15 | build.test.classes.dir=${build.dir}/test/classes 16 | build.test.results.dir=${build.dir}/test/results 17 | # Uncomment to specify the preferred debugger connection transport: 18 | #debug.transport=dt_socket 19 | debug.classpath=\ 20 | ${run.classpath} 21 | debug.test.classpath=\ 22 | ${run.test.classpath} 23 | # Files in build.classes.dir which should be excluded from distribution jar 24 | dist.archive.excludes= 25 | # This directory is removed when the project is cleaned: 26 | dist.dir=dist 27 | dist.jar=${dist.dir}/L3Q4.jar 28 | dist.javadoc.dir=${dist.dir}/javadoc 29 | excludes= 30 | includes=** 31 | jar.compress=false 32 | javac.classpath= 33 | # Space-separated list of extra javac options 34 | javac.compilerargs= 35 | javac.deprecation=false 36 | javac.external.vm=true 37 | javac.processorpath=\ 38 | ${javac.classpath} 39 | javac.source=1.8 40 | javac.target=1.8 41 | javac.test.classpath=\ 42 | ${javac.classpath}:\ 43 | ${build.classes.dir} 44 | javac.test.processorpath=\ 45 | ${javac.test.classpath} 46 | javadoc.additionalparam= 47 | javadoc.author=false 48 | javadoc.encoding=${source.encoding} 49 | javadoc.noindex=false 50 | javadoc.nonavbar=false 51 | javadoc.notree=false 52 | javadoc.private=false 53 | javadoc.splitindex=true 54 | javadoc.use=true 55 | javadoc.version=false 56 | javadoc.windowtitle= 57 | main.class=l3q4.MinMax 58 | manifest.file=manifest.mf 59 | meta.inf.dir=${src.dir}/META-INF 60 | mkdist.disabled=false 61 | platform.active=default_platform 62 | run.classpath=\ 63 | ${javac.classpath}:\ 64 | ${build.classes.dir} 65 | # Space-separated list of JVM arguments used when running the project. 66 | # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. 67 | # To set system properties for unit tests define test-sys-prop.name=value: 68 | run.jvmargs= 69 | run.test.classpath=\ 70 | ${javac.test.classpath}:\ 71 | ${build.test.classes.dir} 72 | source.encoding=UTF-8 73 | src.dir=src 74 | test.src.dir=test 75 | -------------------------------------------------------------------------------- /L09/L9Q2/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | annotation.processing.enabled=true 2 | annotation.processing.enabled.in.editor=false 3 | annotation.processing.processor.options= 4 | annotation.processing.processors.list= 5 | annotation.processing.run.all.processors=true 6 | annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output 7 | build.classes.dir=${build.dir}/classes 8 | build.classes.excludes=**/*.java,**/*.form 9 | # This directory is removed when the project is cleaned: 10 | build.dir=build 11 | build.generated.dir=${build.dir}/generated 12 | build.generated.sources.dir=${build.dir}/generated-sources 13 | # Only compile against the classpath explicitly listed here: 14 | build.sysclasspath=ignore 15 | build.test.classes.dir=${build.dir}/test/classes 16 | build.test.results.dir=${build.dir}/test/results 17 | # Uncomment to specify the preferred debugger connection transport: 18 | #debug.transport=dt_socket 19 | debug.classpath=\ 20 | ${run.classpath} 21 | debug.test.classpath=\ 22 | ${run.test.classpath} 23 | # Files in build.classes.dir which should be excluded from distribution jar 24 | dist.archive.excludes= 25 | # This directory is removed when the project is cleaned: 26 | dist.dir=dist 27 | dist.jar=${dist.dir}/L9Q2.jar 28 | dist.javadoc.dir=${dist.dir}/javadoc 29 | excludes= 30 | includes=** 31 | jar.compress=false 32 | javac.classpath= 33 | # Space-separated list of extra javac options 34 | javac.compilerargs= 35 | javac.deprecation=false 36 | javac.external.vm=true 37 | javac.processorpath=\ 38 | ${javac.classpath} 39 | javac.source=1.8 40 | javac.target=1.8 41 | javac.test.classpath=\ 42 | ${javac.classpath}:\ 43 | ${build.classes.dir} 44 | javac.test.processorpath=\ 45 | ${javac.test.classpath} 46 | javadoc.additionalparam= 47 | javadoc.author=false 48 | javadoc.encoding=${source.encoding} 49 | javadoc.noindex=false 50 | javadoc.nonavbar=false 51 | javadoc.notree=false 52 | javadoc.private=false 53 | javadoc.splitindex=true 54 | javadoc.use=true 55 | javadoc.version=false 56 | javadoc.windowtitle= 57 | main.class=l9q2.L9Q2 58 | manifest.file=manifest.mf 59 | meta.inf.dir=${src.dir}/META-INF 60 | mkdist.disabled=false 61 | platform.active=default_platform 62 | run.classpath=\ 63 | ${javac.classpath}:\ 64 | ${build.classes.dir} 65 | # Space-separated list of JVM arguments used when running the project. 66 | # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. 67 | # To set system properties for unit tests define test-sys-prop.name=value: 68 | run.jvmargs= 69 | run.test.classpath=\ 70 | ${javac.test.classpath}:\ 71 | ${build.test.classes.dir} 72 | source.encoding=UTF-8 73 | src.dir=src 74 | test.src.dir=test 75 | -------------------------------------------------------------------------------- /L09/L9Q3/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | annotation.processing.enabled=true 2 | annotation.processing.enabled.in.editor=false 3 | annotation.processing.processor.options= 4 | annotation.processing.processors.list= 5 | annotation.processing.run.all.processors=true 6 | annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output 7 | build.classes.dir=${build.dir}/classes 8 | build.classes.excludes=**/*.java,**/*.form 9 | # This directory is removed when the project is cleaned: 10 | build.dir=build 11 | build.generated.dir=${build.dir}/generated 12 | build.generated.sources.dir=${build.dir}/generated-sources 13 | # Only compile against the classpath explicitly listed here: 14 | build.sysclasspath=ignore 15 | build.test.classes.dir=${build.dir}/test/classes 16 | build.test.results.dir=${build.dir}/test/results 17 | # Uncomment to specify the preferred debugger connection transport: 18 | #debug.transport=dt_socket 19 | debug.classpath=\ 20 | ${run.classpath} 21 | debug.test.classpath=\ 22 | ${run.test.classpath} 23 | # Files in build.classes.dir which should be excluded from distribution jar 24 | dist.archive.excludes= 25 | # This directory is removed when the project is cleaned: 26 | dist.dir=dist 27 | dist.jar=${dist.dir}/L9Q3.jar 28 | dist.javadoc.dir=${dist.dir}/javadoc 29 | excludes= 30 | includes=** 31 | jar.compress=false 32 | javac.classpath= 33 | # Space-separated list of extra javac options 34 | javac.compilerargs= 35 | javac.deprecation=false 36 | javac.external.vm=true 37 | javac.processorpath=\ 38 | ${javac.classpath} 39 | javac.source=1.8 40 | javac.target=1.8 41 | javac.test.classpath=\ 42 | ${javac.classpath}:\ 43 | ${build.classes.dir} 44 | javac.test.processorpath=\ 45 | ${javac.test.classpath} 46 | javadoc.additionalparam= 47 | javadoc.author=false 48 | javadoc.encoding=${source.encoding} 49 | javadoc.noindex=false 50 | javadoc.nonavbar=false 51 | javadoc.notree=false 52 | javadoc.private=false 53 | javadoc.splitindex=true 54 | javadoc.use=true 55 | javadoc.version=false 56 | javadoc.windowtitle= 57 | main.class=l9q3.L9Q3 58 | manifest.file=manifest.mf 59 | meta.inf.dir=${src.dir}/META-INF 60 | mkdist.disabled=false 61 | platform.active=default_platform 62 | run.classpath=\ 63 | ${javac.classpath}:\ 64 | ${build.classes.dir} 65 | # Space-separated list of JVM arguments used when running the project. 66 | # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. 67 | # To set system properties for unit tests define test-sys-prop.name=value: 68 | run.jvmargs= 69 | run.test.classpath=\ 70 | ${javac.test.classpath}:\ 71 | ${build.test.classes.dir} 72 | source.encoding=UTF-8 73 | src.dir=src 74 | test.src.dir=test 75 | -------------------------------------------------------------------------------- /L03/L3Q2/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | annotation.processing.enabled=true 2 | annotation.processing.enabled.in.editor=false 3 | annotation.processing.processor.options= 4 | annotation.processing.processors.list= 5 | annotation.processing.run.all.processors=true 6 | annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output 7 | build.classes.dir=${build.dir}/classes 8 | build.classes.excludes=**/*.java,**/*.form 9 | # This directory is removed when the project is cleaned: 10 | build.dir=build 11 | build.generated.dir=${build.dir}/generated 12 | build.generated.sources.dir=${build.dir}/generated-sources 13 | # Only compile against the classpath explicitly listed here: 14 | build.sysclasspath=ignore 15 | build.test.classes.dir=${build.dir}/test/classes 16 | build.test.results.dir=${build.dir}/test/results 17 | # Uncomment to specify the preferred debugger connection transport: 18 | #debug.transport=dt_socket 19 | debug.classpath=\ 20 | ${run.classpath} 21 | debug.test.classpath=\ 22 | ${run.test.classpath} 23 | # Files in build.classes.dir which should be excluded from distribution jar 24 | dist.archive.excludes= 25 | # This directory is removed when the project is cleaned: 26 | dist.dir=dist 27 | dist.jar=${dist.dir}/L3Q2.jar 28 | dist.javadoc.dir=${dist.dir}/javadoc 29 | excludes= 30 | includes=** 31 | jar.compress=false 32 | javac.classpath= 33 | # Space-separated list of extra javac options 34 | javac.compilerargs= 35 | javac.deprecation=false 36 | javac.external.vm=true 37 | javac.processorpath=\ 38 | ${javac.classpath} 39 | javac.source=1.8 40 | javac.target=1.8 41 | javac.test.classpath=\ 42 | ${javac.classpath}:\ 43 | ${build.classes.dir} 44 | javac.test.processorpath=\ 45 | ${javac.test.classpath} 46 | javadoc.additionalparam= 47 | javadoc.author=false 48 | javadoc.encoding=${source.encoding} 49 | javadoc.noindex=false 50 | javadoc.nonavbar=false 51 | javadoc.notree=false 52 | javadoc.private=false 53 | javadoc.splitindex=true 54 | javadoc.use=true 55 | javadoc.version=false 56 | javadoc.windowtitle= 57 | main.class=l3q2.MyGeneric 58 | manifest.file=manifest.mf 59 | meta.inf.dir=${src.dir}/META-INF 60 | mkdist.disabled=false 61 | platform.active=default_platform 62 | run.classpath=\ 63 | ${javac.classpath}:\ 64 | ${build.classes.dir} 65 | # Space-separated list of JVM arguments used when running the project. 66 | # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. 67 | # To set system properties for unit tests define test-sys-prop.name=value: 68 | run.jvmargs= 69 | run.test.classpath=\ 70 | ${javac.test.classpath}:\ 71 | ${build.test.classes.dir} 72 | source.encoding=UTF-8 73 | src.dir=src 74 | test.src.dir=test 75 | -------------------------------------------------------------------------------- /L03/L3Q3/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | annotation.processing.enabled=true 2 | annotation.processing.enabled.in.editor=false 3 | annotation.processing.processor.options= 4 | annotation.processing.processors.list= 5 | annotation.processing.run.all.processors=true 6 | annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output 7 | build.classes.dir=${build.dir}/classes 8 | build.classes.excludes=**/*.java,**/*.form 9 | # This directory is removed when the project is cleaned: 10 | build.dir=build 11 | build.generated.dir=${build.dir}/generated 12 | build.generated.sources.dir=${build.dir}/generated-sources 13 | # Only compile against the classpath explicitly listed here: 14 | build.sysclasspath=ignore 15 | build.test.classes.dir=${build.dir}/test/classes 16 | build.test.results.dir=${build.dir}/test/results 17 | # Uncomment to specify the preferred debugger connection transport: 18 | #debug.transport=dt_socket 19 | debug.classpath=\ 20 | ${run.classpath} 21 | debug.test.classpath=\ 22 | ${run.test.classpath} 23 | # Files in build.classes.dir which should be excluded from distribution jar 24 | dist.archive.excludes= 25 | # This directory is removed when the project is cleaned: 26 | dist.dir=dist 27 | dist.jar=${dist.dir}/L3Q3.jar 28 | dist.javadoc.dir=${dist.dir}/javadoc 29 | excludes= 30 | includes=** 31 | jar.compress=false 32 | javac.classpath= 33 | # Space-separated list of extra javac options 34 | javac.compilerargs= 35 | javac.deprecation=false 36 | javac.external.vm=true 37 | javac.processorpath=\ 38 | ${javac.classpath} 39 | javac.source=1.8 40 | javac.target=1.8 41 | javac.test.classpath=\ 42 | ${javac.classpath}:\ 43 | ${build.classes.dir} 44 | javac.test.processorpath=\ 45 | ${javac.test.classpath} 46 | javadoc.additionalparam= 47 | javadoc.author=false 48 | javadoc.encoding=${source.encoding} 49 | javadoc.noindex=false 50 | javadoc.nonavbar=false 51 | javadoc.notree=false 52 | javadoc.private=false 53 | javadoc.splitindex=true 54 | javadoc.use=true 55 | javadoc.version=false 56 | javadoc.windowtitle= 57 | main.class=l3q3.CompareMax 58 | manifest.file=manifest.mf 59 | meta.inf.dir=${src.dir}/META-INF 60 | mkdist.disabled=false 61 | platform.active=default_platform 62 | run.classpath=\ 63 | ${javac.classpath}:\ 64 | ${build.classes.dir} 65 | # Space-separated list of JVM arguments used when running the project. 66 | # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. 67 | # To set system properties for unit tests define test-sys-prop.name=value: 68 | run.jvmargs= 69 | run.test.classpath=\ 70 | ${javac.test.classpath}:\ 71 | ${build.test.classes.dir} 72 | source.encoding=UTF-8 73 | src.dir=src 74 | test.src.dir=test 75 | -------------------------------------------------------------------------------- /L03/L3Q5/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | annotation.processing.enabled=true 2 | annotation.processing.enabled.in.editor=false 3 | annotation.processing.processor.options= 4 | annotation.processing.processors.list= 5 | annotation.processing.run.all.processors=true 6 | annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output 7 | build.classes.dir=${build.dir}/classes 8 | build.classes.excludes=**/*.java,**/*.form 9 | # This directory is removed when the project is cleaned: 10 | build.dir=build 11 | build.generated.dir=${build.dir}/generated 12 | build.generated.sources.dir=${build.dir}/generated-sources 13 | # Only compile against the classpath explicitly listed here: 14 | build.sysclasspath=ignore 15 | build.test.classes.dir=${build.dir}/test/classes 16 | build.test.results.dir=${build.dir}/test/results 17 | # Uncomment to specify the preferred debugger connection transport: 18 | #debug.transport=dt_socket 19 | debug.classpath=\ 20 | ${run.classpath} 21 | debug.test.classpath=\ 22 | ${run.test.classpath} 23 | # Files in build.classes.dir which should be excluded from distribution jar 24 | dist.archive.excludes= 25 | # This directory is removed when the project is cleaned: 26 | dist.dir=dist 27 | dist.jar=${dist.dir}/L3Q5.jar 28 | dist.javadoc.dir=${dist.dir}/javadoc 29 | excludes= 30 | includes=** 31 | jar.compress=false 32 | javac.classpath= 33 | # Space-separated list of extra javac options 34 | javac.compilerargs= 35 | javac.deprecation=false 36 | javac.external.vm=true 37 | javac.processorpath=\ 38 | ${javac.classpath} 39 | javac.source=1.8 40 | javac.target=1.8 41 | javac.test.classpath=\ 42 | ${javac.classpath}:\ 43 | ${build.classes.dir} 44 | javac.test.processorpath=\ 45 | ${javac.test.classpath} 46 | javadoc.additionalparam= 47 | javadoc.author=false 48 | javadoc.encoding=${source.encoding} 49 | javadoc.noindex=false 50 | javadoc.nonavbar=false 51 | javadoc.notree=false 52 | javadoc.private=false 53 | javadoc.splitindex=true 54 | javadoc.use=true 55 | javadoc.version=false 56 | javadoc.windowtitle= 57 | main.class=l3q5.FindMax 58 | manifest.file=manifest.mf 59 | meta.inf.dir=${src.dir}/META-INF 60 | mkdist.disabled=false 61 | platform.active=default_platform 62 | run.classpath=\ 63 | ${javac.classpath}:\ 64 | ${build.classes.dir} 65 | # Space-separated list of JVM arguments used when running the project. 66 | # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. 67 | # To set system properties for unit tests define test-sys-prop.name=value: 68 | run.jvmargs= 69 | run.test.classpath=\ 70 | ${javac.test.classpath}:\ 71 | ${build.test.classes.dir} 72 | source.encoding=UTF-8 73 | src.dir=src 74 | test.src.dir=test 75 | -------------------------------------------------------------------------------- /L04/L4Q1/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | annotation.processing.enabled=true 2 | annotation.processing.enabled.in.editor=false 3 | annotation.processing.processor.options= 4 | annotation.processing.processors.list= 5 | annotation.processing.run.all.processors=true 6 | annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output 7 | build.classes.dir=${build.dir}/classes 8 | build.classes.excludes=**/*.java,**/*.form 9 | # This directory is removed when the project is cleaned: 10 | build.dir=build 11 | build.generated.dir=${build.dir}/generated 12 | build.generated.sources.dir=${build.dir}/generated-sources 13 | # Only compile against the classpath explicitly listed here: 14 | build.sysclasspath=ignore 15 | build.test.classes.dir=${build.dir}/test/classes 16 | build.test.results.dir=${build.dir}/test/results 17 | # Uncomment to specify the preferred debugger connection transport: 18 | #debug.transport=dt_socket 19 | debug.classpath=\ 20 | ${run.classpath} 21 | debug.test.classpath=\ 22 | ${run.test.classpath} 23 | # Files in build.classes.dir which should be excluded from distribution jar 24 | dist.archive.excludes= 25 | # This directory is removed when the project is cleaned: 26 | dist.dir=dist 27 | dist.jar=${dist.dir}/L4Q1.jar 28 | dist.javadoc.dir=${dist.dir}/javadoc 29 | excludes= 30 | includes=** 31 | jar.compress=false 32 | javac.classpath= 33 | # Space-separated list of extra javac options 34 | javac.compilerargs= 35 | javac.deprecation=false 36 | javac.external.vm=true 37 | javac.processorpath=\ 38 | ${javac.classpath} 39 | javac.source=1.8 40 | javac.target=1.8 41 | javac.test.classpath=\ 42 | ${javac.classpath}:\ 43 | ${build.classes.dir} 44 | javac.test.processorpath=\ 45 | ${javac.test.classpath} 46 | javadoc.additionalparam= 47 | javadoc.author=false 48 | javadoc.encoding=${source.encoding} 49 | javadoc.noindex=false 50 | javadoc.nonavbar=false 51 | javadoc.notree=false 52 | javadoc.private=false 53 | javadoc.splitindex=true 54 | javadoc.use=true 55 | javadoc.version=false 56 | javadoc.windowtitle= 57 | main.class=l4q1.ArrayBag 58 | manifest.file=manifest.mf 59 | meta.inf.dir=${src.dir}/META-INF 60 | mkdist.disabled=false 61 | platform.active=default_platform 62 | run.classpath=\ 63 | ${javac.classpath}:\ 64 | ${build.classes.dir} 65 | # Space-separated list of JVM arguments used when running the project. 66 | # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. 67 | # To set system properties for unit tests define test-sys-prop.name=value: 68 | run.jvmargs= 69 | run.test.classpath=\ 70 | ${javac.test.classpath}:\ 71 | ${build.test.classes.dir} 72 | source.encoding=UTF-8 73 | src.dir=src 74 | test.src.dir=test 75 | --------------------------------------------------------------------------------