Just changed the helpers.c file according to pset3 specs:"Re-write search in such a way that it uses linear search, returning true if value is in values and false if value is not in values. Take care to return false right away if n isn’t even positive."
It passes check50 but when i run ./generate 1000 50 | ./find 127 it cant find needle in haystack.. I am now starting to dive into pset3 but i cant seem to find wheres the mistake
Here is my code:
[Edit: code removed per Honor Code compliance.]