<commit_before>#include <iostream>
#include <stdlib.h>
#include "flight.h"
#include "node.h"

#pragma once

using namespace std;

//TODO: use templates
class Deque {
private:
  Node *head, *tail;

  bool insertFirstElement(Flight);

public:
  Deque();
  ~Deque();

  Node *getHead();
  Node *getTail();

  bool isEmpty();

  bool pushFront(Flight);
  bool pushBack(Flight);

  bool insertBefore(Node*, Flight);
  bool insertAfter(Node*, Flight);

  Flight popFront();
  Flight popBack();
  Flight remove(Node*);

  void show();
  void showReverse();
};
<commit_msg>Oops forgot deque header file :P<commit_after>#include <iostream>
#include <stdlib.h>
#include "flight.h"
#include "node.h"

#pragma once

using namespace std;

//TODO: use templates
class Deque {
private:
  Node *head, *tail;

  bool insertFirstElement(Flight);

public:
  Deque();
  ~Deque();

  Node *getHead();
  Node *getTail();

  bool isEmpty();

  bool pushFront(Flight);
  bool pushBack(Flight);

  bool insertBefore(Node*, Flight);
  bool insertAfter(Node*, Flight);

  Flight popFront();
  Flight popBack();
  Flight remove(Node*&);

  void show();
  void showReverse();
};

{'fraction_non_alphanumeric': 0.14956521739130435, 'fraction_numerical': 0.0, 'mean_word_length': 4.429245283018868, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6765080', 'n_tokens_mistral': 422, 'n_tokens_neox': 401, 'n_words': 111}