Codility's MaxCounters Coding Interview - Part 2

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024
  • Coding interview here: app.codility.c...
    Problem from the Counting Elements section.
    Please support me through my Udemy courses:
    Pass your coding interview in,
    Java : www.udemy.com/...
    Python: www.udemy.com/...
    Ruby: www.udemy.com/...
    JavaScript: www.udemy.com/...
    Multithreading in,
    Go Lang: www.udemy.com/...
    Python: www.udemy.com/...
    Java: www.udemy.com/...
    Learn Dynamic Programming in,
    Java: www.udemy.com/...
    Python: www.udemy.com/...
    Ruby: www.udemy.com/...
    Blog: www.cutajarjame...

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

  • @alencerimagic3501
    @alencerimagic3501 3 года назад

    In first approach, what if we initialise a new array of ints all with the same value which is the max counter value? In that case we would not need to go trough the all elements.

  • @ediancomachio2783
    @ediancomachio2783 4 года назад

    Thank you so much, this helped my thought process a lot! keep it up