<commit_before>﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;

namespace DataStructuresAlgorithms.DataStructures.LinkedList
{
    public interface LinkedList<T> { }

    public interface Node<T> { }
}<commit_msg>Created interfaces LinkedList and Node<commit_after>﻿using System.Collections.Generic;

namespace DataStructuresAlgorithms.DataStructures.LinkedList
{
    public interface LinkedList<T> : IEnumerable<Node<T>>
    {
        Node<T> LastNode { get; }
        Node<T> FirstNode { get; }
        void Add(T value);
        bool IsEmpty { get; }
        int Length { get; }
        int Count { get; }

        Node<T> AddFirst(T value);
        Node<T> AddLast(T value);
        Node<T> AddBefore(Node<T> node, T value);
        Node<T> AddAfter(Node<T> node, T value);
        bool Contains(Node<T> node);
        void RemoveFirst();
        void Remove(Node<T> node);
        Node<int> Remove(int key);
        void RemoveBefore(Node<T> node);
        void RemoveAfter(Node<T> node);
        void RemoveLast();
        void Clear();
        Node<T> Find(Node<T> node);
        int Find(int key);
        Node<T> FindPrevious(Node<T> node);
        Node<int> FindPrevious(int key);
        Node<T> FindMToLast(int m);
        bool IsCyclic();
    }

    public interface Node<T>
    {
        Node<T> Next { get; }
        Node<T> Prev { get; }
        T Value { get; }
    }
}
{'fraction_non_alphanumeric': 0.12002743484224966, 'fraction_numerical': 0.0, 'mean_word_length': 2.5935960591133007, 'pattern_counts': {'":': 0, '<': 30, '<?xml version=': 0, '>': 30, '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': '4438613', 'n_tokens_mistral': 454, 'n_tokens_neox': 448, 'n_words': 114}