updated comments for day 1 part 2

and removed an unused import
This commit is contained in:
kageru 2018-12-02 10:59:58 +01:00
parent 3d0fc69737
commit cc413c3ffb

View File

@ -1,12 +1,10 @@
#include <stdio.h>
#include <stdlib.h>
#include "hashset/hashset.h"
// Originally, I used hashsets for this, which refused to work for me.
// I would then find out that the implementation I was using hashes based on the pointer, not the value, so I just wrote a stupid lookup table.
#define inputLength 1000000 // adjust expected length
#define inputLength 1000000 // adjust accordingly
int main() {
int position = 0;