Check Permutation - Strings & Arrays - Data Structures Interview Question - Part 2
Ganesh H
Given two strings, write a method to decide if one is a permutation of the other.
00:00 - Introduction 00:27 - Defining a Permutation 03:38 - Brute Force Solution 06:28 - Optimizations 07:13 - Solving Manually 09:34 - Improved Solution - Sorting 16:45 - Optimizing using more space (Manual) 20:25 - Optimal Solution - HashMap 29:00 - Implementation 33:08 - Testing 34:50 - Summary -————————————————————————————————————- Written Guides & Tutorials: https://tutorials.gn3.sh
NOTE: I am not a teacher by any means, these videos are just to help me improve my understanding.
Thanks for Watching! ... https://www.youtube.com/watch?v=FM4UF98JLD8
2022-04-04
0.0 LBC
Copyrighted (contact publisher)
109436283 Bytes