"179. Largest Number" is a medium-level problem and the daily challenge (POTD) for 18 September 2024 on LeetCode. The solution presented in the video is coded in Java, but the approach is explained using a dry-run on a blackboard. This method makes the video accessible and beneficial for individuals with different programming backgrounds, as it focuses on the underlying logic rather than language-specific details.
*Intuition:*
To form the largest number, compare pairs of numbers by checking the initial digits. Arrange the numbers in the order that gives the highest combined value. This ensures that when joined together, the resulting number is as large as possible.
Link to the problem: https://leetcode.com/problems/largest-number/description/
For doubts/queries, please reach out on [email protected]
Connect with me on Linkedin: https://www.linkedin.com/in/aditi-chourasia-a2a572121/
Other problems for practice:
https://youtu.be/OXt9oJzLrfE
https://youtu.be/_Ucl8cpm6k8
https://youtu.be/Bgj20sklcm4
https://youtu.be/8WS95DVUL-I
https://youtu.be/jNF2RsSHqNY
https://youtu.be/Otejs0xAX0k
https://youtu.be/2yX7FTftMv0
https://youtu.be/AbnArofQLK8
#leetcodejava #leetcode #dailychallenge #potd #hindi
Download
0 formats
No download links available.
179. Largest Number | Leetcode Daily (POTD) 18 Sep 2024 | Medium | Java | Hindi | Sorting | NatokHD