In this video, we are going to look at a basic string problem: anagram check. We solved the problem using two methods: 1)naive 2)efficient(array storing method) Description: Given two strings a and b consisting of lowercase characters. The task is to check whether two given strings are an anagram of each other or not. An anagram of a string is another string that contains the same characters, only the order of characters can be different. For example, act and tac are an anagram of each other. Example 1: Input:a = geeksforgeeks, b = forgeeksgeeks Output: YES LInk: In this video, you’ll also learn about asymptotic notations, they are basically mathematical notations which represent order ... #ProgrammingKnowledge #Data_Structures_And_Algorithms #Data_Structures #algorithm #Algorithms #Algorithms_Tutorial #Data_Structures_Tutorial #Arrays #Strings #Stacks 20220714 WwwruJOaKbA
Hide player controls
Hide resume playing