This video explains a very interesting string problem which is to find whether it is possible to form a ransom note using the characters of the string present in magazine. Characters are not reusable from magazine. I have explained this problem using hash which keeps count of frequency of characters in magazine and then try to form the ransom note using this frequency hash. If it is possible to form a string then we return true otherwise return false. I have explained this problem with proper example and intuition of how to solve it. I have also explained the CODE at the end of the video and have provided the CODE LINK below. This problem is based entirely on counting characters using an array or hashmap. If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful...CYA :)
CODE LINK: https://gist.github.com/SuryaPratapK/...
Auf dieser Seite können Sie das Online-Video Ransom note | Leetcode mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Techdose 03 Mai 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 26,462 Mal angesehen und es wurde von 364 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!