HackerRank - Count Triplets - Python

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

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

  •  3 года назад +3

    Thanks a lot. You explained very well the intuition, I was mad at this problem, but at 4:30 I was able to pause the video, give it a new try and succeed. Your video deserves a thousand likes!

  • @dreamphoenix
    @dreamphoenix Год назад

    Thank you.

  • @sourabhpatil9406
    @sourabhpatil9406 4 года назад +1

    You solved this question brutally!!! I wrote 15 lines of code and still, my 5 test cases failed. Thanks for the efficient solutions.

  • @Qwmp-
    @Qwmp- 3 года назад +1

    Any particular reason you chose to step through the array backwards? It seems that going forwards and simply using division to check for geometric progressions yields the same results and passes all tests. Great video either way, thanks!

  • @tavochido1885
    @tavochido1885 3 года назад +1

    How many tabs do you have opened

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

    why reversed ? is there any descripetion about the input array order in the problem descripetion ? what if the input is down order ?