palindrome.h 318 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * palindrome.h
 * Univeristy of Michigan, Ann Arbor
 * EECS 281 Lab 1 Written.
 * DO NOT SUBMIT TO GRADESCOPE.
 * If submitted, this file will be ignored.
 */
#ifndef PALINDROME_H 
#define PALINDROME_H

struct Node {
  Node* prev;
  Node* next;
  char value;
};

bool isPalindrome(Node* start, Node* end);

#endif