SORT THE PEOPLE (LEETCODE 2418 ) SOLUTION IN JAVA | 2418 | LEETCODE | SOLUTION |

Pubblicato il: 19 ottobre 2022
sul canale di: Economic Coder
1,442
14

SORT THE PEOPLE (LEETCODE 2418 ) SOLUTION IN JAVA

Source Code and Doubts -   / economic__coder  


In this video we are going to discuss the leetcode problem 2418 (sort the people) in java.
Sorting the people based on heights is the main aim of the problem.

STEPS TO SOLVE SORT THE PEOPLE

1. Creating an map and put respective names and heights.
2. Sort the heights array.
3. Creating an new array and place the people based on the heights of the people (Sort).

#leetcode
#sortthepeople
#leetcodesolution
#java #leetcodesolutioninjava


In questa pagina del sito puoi guardare il video online SORT THE PEOPLE (LEETCODE 2418 ) SOLUTION IN JAVA | 2418 | LEETCODE | SOLUTION | della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Economic Coder 19 ottobre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,442 volte e gli è piaciuto 14 spettatori. Buona visione!