Revert "Update Assignment"

This reverts commit b5216a23ef.
This commit is contained in:
2018-10-22 11:03:21 +07:00
parent b5216a23ef
commit df5e97f179
6 changed files with 0 additions and 371 deletions
-61
View File
@@ -1,61 +0,0 @@
#include"UnrolledLinkedList.h"
void UnrolledLinkedList::add(int val) {
// TODO
}
int UnrolledLinkedList::getAt(int pos) {
if (pos < 0 || pos >= size)
throw "IndexOutOfBoundsException"; // check whether pos is valid or not
// TODO
}
void UnrolledLinkedList::setAt(int pos, int val) {
if (pos < 0 || pos >= size)
throw "IndexOutOfBoundsException"; // check whether pos is valid or not
// TODO
}
void UnrolledLinkedList::insertAt(int pos, int val) {
if (pos < 0 || pos > size)
throw "IndexOutOfBoundsException"; // check whether pos is valid or not
// TODO
}
void UnrolledLinkedList::deleteAt(int pos)
{
if (pos < 0 || pos >= size)
throw "IndexOutOfBoundsException"; // check whether pos is valid or not
// TODO
}
int UnrolledLinkedList::firstIndexOf(int val) {
// TODO
}
int UnrolledLinkedList::lastIndexOf(int val) {
// TODO
}
bool UnrolledLinkedList::contains(int val) {
// TODO
}
void UnrolledLinkedList::reverse() {
// TODO
}
int* UnrolledLinkedList::toArray() {
// TODO
}