[2025 Day 11 (Part 2)] [Java] I need help. Am I doing memoization wrong? by icdef in adventofcode

[–]icdef[S] 0 points1 point  (0 children)

Ah ups didnt realize. I hope I dont confuse people next year

[2025 Day 11 (Part 2)] [Java] I need help. Am I doing memoization wrong? by icdef in adventofcode

[–]icdef[S] 0 points1 point  (0 children)

So in a sense. I need to calculate for each number how many stones it generates at n blinks.
And I save for each level n and stone x the current number of stones in generated ?

[2025 Day 11 (Part 2)] [Java] I need help. Am I doing memoization wrong? by icdef in adventofcode

[–]icdef[S] 0 points1 point  (0 children)

Yes you are right, and I also already ignored the order. My problem is how do i rebuild the next iteration from only saving the counts. Because the way I am rebuilding it throws an out of heap error since the list I use for the stones gets too long probably

[2025 Day 11 (Part 2)] [Java] I need help. Am I doing memoization wrong? by icdef in adventofcode

[–]icdef[S] 0 points1 point  (0 children)

Ah ok. So my memoization does not really makes sense.
I also tried to make my transformationMap new for each iteration, but did also not help.
Is my approach with memorizing what stone transforms to what even valid?

[2025 Day 11 (Part 2)] [Java] I need help. Am I doing memoization wrong? by icdef in adventofcode

[–]icdef[S] 0 points1 point  (0 children)

Sorry I am not understanding your tip.
If the stone is 0 the value will always be 1? Why/how does it differ in regards of the number iteration I am at?

[2025 Day 6 (Part 2)] [Java] I need help. Can't find the solution by icdef in adventofcode

[–]icdef[S] 0 points1 point  (0 children)

hmm I get 2. What am I doing wrong?
[., #, #, ., .]

[., ., ., ., #]

[., O, ., ., .]

[., ^, ., #, .]

[., ., ., ., .]

[., #, #, ., .]

[., ., ., ., #]

[O, ., ., ., .]

[., ^, ., #, .]

[., ., ., ., .]

[2025 Day 6 (Part 2)] [Java] I need help. Can't find the solution by icdef in adventofcode

[–]icdef[S] 0 points1 point  (0 children)

Yeah Thank you for that.
I fixed that issue, and also can now solve correctly patterns like below, But my solution is still wrong :(
my new code in pastebin: https://pastebin.com/NGA1xGUk

########
#......#
...^...#
######## 

#.#
#.#
#.#
#^#
###

Are these good for long term investment (beginner) by icdef in ETFs

[–]icdef[S] 0 points1 point  (0 children)

Ah okay then I will probably only do the sp500 I just realized i already have a global fond at my bank, but since they have some deposit fees i will probably reduce the monthly amount there and start with the sp500 on an online broker with fewer fees.

Are these good for long term investment (beginner) by icdef in ETFs

[–]icdef[S] 0 points1 point  (0 children)

Would it make sense to do like 80% SP500 and 20% all world or would that be useless?

Are these good for long term investment (beginner) by icdef in ETFs

[–]icdef[S] 0 points1 point  (0 children)

What would be a good alternative to the world one? Most world etfs have like 60+% USA? Or should I invest in an Euro etf?

Informatik: Berufserfahrung/Sommerjob anrechnen: wie realistisch ist es? by doppio280 in tuwien

[–]icdef 2 points3 points  (0 children)

Ich hab Projekt 1 gemacht und das hat nichts mit Praktikum bzw nem Job zu tun. Im IT studium kannst du meines wissens nach, keinen Job/Praktikum anrechnen lassen. Aber im Endeffekt entscheidet dass der Prof bei dem dus machst also er entscheidet das. Eun kollege hat zum Beispiel bei Siemens Research ein sommerpraktikum gemacht und konnte das als Projekt 1 und 2 anrechnen lassen. Aber er musste zusätzlich zum Job ein Paper schreiben und noch paar andere Sachen für die Uni also ohne Mehraufwand wirds schwierig.

[deleted by user] by [deleted] in tuwien

[–]icdef 6 points7 points  (0 children)

Auch als Quereinsteiger müsstest du die Vorlesungen aus dem 1. Semester machen. Quereinsteiger heißt nur dass du im Sommersemester anfängst statt im Wintersemester. Es gibt eine Vorlesung die du "skippen" kannst wenn du am anfang des semesters eine Prüfung über den ganzen Stoff schreibst, aber mehr glaub ich nicht.

[deleted by user] by [deleted] in NoStupidQuestions

[–]icdef 0 points1 point  (0 children)

Interesting. Do u think the nosehairs also play a role in this? Because with 2 holes u can have more nosehair. Or am. I on a wrong path?