Try these popular Algorithm and Java books:
1. Cracking the Coding Interview: 150 Programming Questions and Solutions
https://amzn.to/37emg3w
2. Introduction to Algorithms
https://amzn.to/356uJmC
3. Java Pocket Guide: Instant Help for Java Programmers
https://amzn.to/3k6ajAt
*As an Amazon Associate I earn from qualifying purchases.
*******************************************************************************************
Like and Subscribe if you enjoy my content!
Or give advice or alternative solutions in the comments below!
Problem: https://app.codesignal.com/arcade/int...
Ratiorg got statues of different sizes as a present from CodeMaster for his birthday, each statue having an non-negative integer size.
Since he likes to make things perfect, he wants to arrange them from smallest to largest so that each statue will be bigger than the previous one exactly by 1.
He may need some additional statues to be able to accomplish that. Help him figure out the minimum number of additional statues needed.
More CodeSignal: • CodeSignal
More LeetCode: • Leetcode
More HackerRank: • HackerRank
*******************************************************************************************
Follow me on:
Twitter - / joshuacadavez
LinkedIn - / joshuacadavez
GitHub - https://github.com/JoshuaTheEngineer
Nesta página do site você pode assistir ao vídeo on-line "Make Array Consecutive 2" - Codesignal #6 - JAVA Solution duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Joshua 02 Abril 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 2,237 vezes e gostou 21 espectadores. Boa visualização!