Add todos after talking to prof
This commit is contained in:
parent
0e90c9479d
commit
f69a4bf22a
@ -17,6 +17,8 @@ Node *search(Node **head, char *data) {
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Add contains function and use it in search
|
||||||
|
|
||||||
Node *searchForPrevious(Node **head, Node *current) {
|
Node *searchForPrevious(Node **head, Node *current) {
|
||||||
Node *previous = *head;
|
Node *previous = *head;
|
||||||
while (previous != NULL) {
|
while (previous != NULL) {
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
|
|
||||||
#define MAX_LEN 100
|
#define MAX_LEN 100
|
||||||
|
|
||||||
|
// TODO: Make sure function signatures are correct and match the documentation
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
Node *head = NULL;
|
Node *head = NULL;
|
||||||
// Double buffer to support up to 100 chars in find and replace command
|
// Double buffer to support up to 100 chars in find and replace command
|
||||||
|
Loading…
Reference in New Issue
Block a user