Commit e1f597b5 authored by Oliver Hitchcock Hill's avatar Oliver Hitchcock Hill
Browse files

Prelab, assignment, and handwritten problem.

parent 9e98bd17
/*
* palindrome.cpp
* Univeristy of Michigan, Ann Arbor
* EECS 281 Lab 1 Written.
* SUBMIT ONLY THIS FILE TO GRADESCOPE.
*/
// Common #includes for convience.
// No need to use them.
// Remove any of them if you want.
#include <algorithm>
#include <cassert>
#include <deque>
#include <functional>
#include <iostream>
#include <iterator>
#include <limits>
#include <list>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <tuple>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
#include "palindrome.h"
using namespace std;
bool isPalindrome(Node* start, Node* end) {
// TODO
assert(false);
return false;
}
/*
* 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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment