advent-of-code icon indicating copy to clipboard operation
advent-of-code copied to clipboard

AdventOfCOde "Trebuchet Puzzle"

Open dchidindu5 opened this issue 1 year ago • 1 comments

This is my first time doing advent of code puzzle, I would like to know how to technically solve the first puzzle. Are their principles one could follow? Although I've read through the instructions but still unable to comprehend

dchidindu5 avatar Dec 02 '23 23:12 dchidindu5

Hi @dchidindu5 !

Welcome to Advent of Code!

For the "Trebuchet Puzzle," understanding the principles involves breaking down the problem and applying basic programming concepts. Here's a general guide on how to approach it:

  1. Read the Problem Statement: Carefully read through the puzzle description to understand what's required. Please keep in mind any rules or patterns mentioned.

  2. Break It Down: Break the problem into smaller parts. Focus on solving one aspect at a time rather than tackling the entire situation.

  3. Use Test Input: You can use the test input provided to test your solution if available. This can help identify any issues and ensure your solution is on the right track.

  4. Debugging: Print intermediate results or use a debugger to understand how your code is behaving. This can help you identify any logical errors.

If you have specific questions or a particular part of the puzzle you find challenging, feel free to share your approach or ask for guidance. I'm sure you will get assistance better that way. You should try your best; if you get stuck, refer to Reddit for tips. While I am not the owner of this repo, I can help as best as possible!

CodeByAidan avatar Dec 03 '23 22:12 CodeByAidan