#Advent of Code 2021 Day 5 part 1
1 messages · Page 1 of 1 (latest)
<@&1008423204219531294> please have a look, thanks.
While you are waiting for getting help, here are some tips to improve your experience:
If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.
Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.
I uploaded your attachments as Gist.
I DON'T WANT IMMEDIATE ANSWERS I WANT A HINT IN THE CORRECT DIRECTION
we dont do spoonfeeding anyways
function explanations:
Main - gets the input and sort it
configureHighestValues - Finds the biggest X and Y values
mapLinesTo2DArray - takes the lines and adds 1 for each position if it's on the line
findNumberOfPoints - takes the mapped array and counts the point with one or more lines on it
and whats ur issue?