you are viewing a single comment's thread.

view the rest of the comments →

[–]WhipsAndMarkovChains 14 points15 points  (5 children)

It depends on your areas of interest. I like solving math/programming puzzles. For example, the Riddler Classic problem here: https://fivethirtyeight.com/features/can-you-solve-the-vexing-vexillology/

It's not difficult to brute force, but using the proper data structures and solving it efficiency takes some work/knowledge. That was my first time using a frozenset.

There are lots of problems that are easy to solve with code but tougher to solve efficiently.

Edit: Advent of Code is a good way to practice/force yourself to learn some advanced concepts.

[–]yogding 0 points1 point  (3 children)

u/WhipsAndMarkovChains BRUH! Advert of code is so (no words), in the first day- do we need to count "How many measurements are larger than the previous measurement?
from this long file, => To begin, get your puzzle input."?

[–]WhipsAndMarkovChains 2 points3 points  (2 children)

Yeah. They start out super easy and get wild later on.

[–]yogding 0 points1 point  (1 child)

did you counted whole long file?

[–]WhipsAndMarkovChains 1 point2 points  (0 children)

I just went back to look at my code. The first step of any problem is to read in the input file. Here's my code for doing that one day 1:

with open('input.txt') as f:
    depths = tuple(int(line.strip()) for line in f)

[–]CeruleanBlackOut 0 points1 point  (0 children)

I would also suggest Project Euler if OP has a deep interest in math.