https://akhansari.tech/
https://github.com/akhansari
🇪🇺🇫🇷⚛️🗣️🇬🇧
(I tend not to use the mouse very often)
Mine which is Cosmic:
(I tend not to use the mouse very often)
Mine which is Cosmic:
Error propagation is also interesting:
Error propagation is also interesting:
But I've never tried to debug. Usually I run dotnet watch test in a Zellij pane next to nvim pane.
But I've never tried to debug. Usually I run dotnet watch test in a Zellij pane next to nvim pane.
Pretty fun to play with Linked List. As I couldn't think functional, the code is very similar to C#.
Pretty fun to play with Linked List. As I couldn't think functional, the code is very similar to C#.
I was faced with a lot of difficulties to think functional.
I tried to not create a big array, by going once from start to end and then from end to start, and merging free spaces.
I was faced with a lot of difficulties to think functional.
I tried to not create a big array, by going once from start to end and then from end to start, and merging free spaces.
I couldn't simplify as much as I wanted and not to use HashSet.
github.com/akhansari/ad...
I couldn't simplify as much as I wanted and not to use HashSet.
github.com/akhansari/ad...
I think for day 4, no one has followed the same approach.
- Rotating a matrix clockwise, then search for XMAS
- Extracting a string by position and direction, then compare to XMAS
- Or just comparing chars in a 2D array by direction
- ...
I think for day 4, no one has followed the same approach.
- Rotating a matrix clockwise, then search for XMAS
- Extracting a string by position and direction, then compare to XMAS
- Or just comparing chars in a 2D array by direction
- ...
Too lazy not to do brute force.
But the idea is get the first irregularity index, remove it, and test the safety again.
Too lazy not to do brute force.
But the idea is get the first irregularity index, remove it, and test the safety again.