"goodbye".indexOf("good") --> 0 👍
"nice try".indexOf("nice") --> 0 👍
"trust gone".indexOf("us") --> 2 👍
"soldier on".indexOf("soul") --> -1 🤷
😏
"goodbye".indexOf("good") --> 0 👍
"nice try".indexOf("nice") --> 0 👍
"trust gone".indexOf("us") --> 2 👍
"soldier on".indexOf("soul") --> -1 🤷
😏
I was adamant that I could solve part 2 without creating the subsets of the original array of numbers. Well, after struggling with it for an hour, I gave up, and created the subsets. It was so easy, short, and clean. I was so mad at myself. 😆
I was adamant that I could solve part 2 without creating the subsets of the original array of numbers. Well, after struggling with it for an hour, I gave up, and created the subsets. It was so easy, short, and clean. I was so mad at myself. 😆
adventofcode.com
Well, the first few of days are just a warm-up. Last year day 5 was the first I couldn't solve right away. From then on it was all downhill. I made it to day 22 with missing parts here and there. Let's see how I do this year. 🤓
adventofcode.com
Well, the first few of days are just a warm-up. Last year day 5 was the first I couldn't solve right away. From then on it was all downhill. I made it to day 22 with missing parts here and there. Let's see how I do this year. 🤓
Think of it as Composer for PHP extensions: they’re distributed via Packagist and handled similar to regular PHP packages.
Check it out and share your feedback 🐘💜
thephp.foundation/blog/2024/11...
Think of it as Composer for PHP extensions: they’re distributed via Packagist and handled similar to regular PHP packages.
Check it out and share your feedback 🐘💜
thephp.foundation/blog/2024/11...