Advent of Code 2024 in Kotlin with the Core Ecosystem Lead! Day 1.

Поделиться
HTML-код
  • Опубликовано: 22 янв 2025

Комментарии • 8

  • @МаксЖилин-у3ц
    @МаксЖилин-у3ц Месяц назад +1

    There is a split function to break the string apart. It's pretty simple instead of substrings

  • @LightSystem
    @LightSystem Месяц назад

    I used sumOf for doing the sums on the lists, quite concise!

  • @acche-rc
    @acche-rc Месяц назад +1

    wish the audio quality was better

  • @ilyanemtsev2790
    @ilyanemtsev2790 Месяц назад +1

    Would be great if the IDE more actively suggested Kotlin idiomatic way of rewriting something, if you are writing more Java-ish code.

  • @donwald3436
    @donwald3436 Месяц назад +15

    Can you livestream the attempt live, presenting a prepared solution is not useful, I want to see an expert solve it blind.

  • @azharalibhutto1209
    @azharalibhutto1209 Месяц назад

    Great ❤❤❤

  • @JazzyJesterTechPing
    @JazzyJesterTechPing Месяц назад +1

    Sorry but the part 2 answer is wrong :) I know because I solved it correctly :)
    Great tips with the zip and unzip, the substring functions ! Thanks !
    (But maybe they generate different sets of input per user, in order to avoid copies ? that's interesting....and they have they own code to verify the answer for each user....)

    • @dalehendricks8201
      @dalehendricks8201 Месяц назад +7

      Every user has a unique input and answer, so you would need to run their code with your input file to get your personal answer.