2. Valid Anagram | Strings - Easy |

  Рет қаралды 1,207

Ayushi Sharma

Ayushi Sharma

Күн бұрын

Пікірлер: 14
@SabinPoudel-iw2rf
@SabinPoudel-iw2rf 3 ай бұрын
Awesome Explanation!!!
@AyushiSharmaDSA
@AyushiSharmaDSA 3 ай бұрын
thank you :)
@MonikaJethani
@MonikaJethani 3 ай бұрын
This can be optimized further
@oggystocky
@oggystocky 3 ай бұрын
Didi, how many questions have you in leetcode? Can you share just approx figure
@AyushiSharmaDSA
@AyushiSharmaDSA 3 ай бұрын
@@oggystocky I have done around 650, but don’t run after quantity, practice quality problems :)
@oggystocky
@oggystocky 3 ай бұрын
@AyushiSharmaDSA Ok di, Thank you for helping me out 😊
@AyushiSharmaDSA
@AyushiSharmaDSA 3 ай бұрын
@@oggystocky anytime :)
@vikaas.sharma
@vikaas.sharma 3 ай бұрын
Mam can we did it using only one map like incrementing one character from first string and decrement character from second stirng like that
@AyushiSharmaDSA
@AyushiSharmaDSA 3 ай бұрын
yes we can do that as well :)
@aurobindamishra8463
@aurobindamishra8463 3 ай бұрын
can you share all code in java it will be really helpful
@AyushiSharmaDSA
@AyushiSharmaDSA 3 ай бұрын
sure let me add that :)
@AyushiSharmaDSA
@AyushiSharmaDSA 3 ай бұрын
added java code! :)
@samiranroyy1700
@samiranroyy1700 3 ай бұрын
class Solution { public boolean isAnagram(String s, String t) { char[] str1 = s.toCharArray(); char[] str2 = t.toCharArray(); Arrays.sort(str1); Arrays.sort(str2); if(Arrays.equals(str1,str2)) { return true; }else{ return false; } } }
@CodewithKing360
@CodewithKing360 3 ай бұрын
SLIDING WINDOW fixed size + COMPARE 2 AARAY OF 26 SIZE EQUAL 😅
3. Isomorphic Strings | Strings - Easy | #LearnDSA | Leetcode 205
15:13
Valid Anagram - Leetcode 242 - Python
12:01
NeetCode
Рет қаралды 593 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
1. Sum of all subarrays of size K | Fixed Sliding window - Easy
21:26
Ayushi Sharma
Рет қаралды 1,6 М.
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 950 М.
How I would learn Leetcode if I could start over
18:03
NeetCodeIO
Рет қаралды 739 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 902 М.
1. Anagrams | Strings | Multiple methods with Optimisations & Code! New Series! ❤️🚀💪
14:26
Code From Scratch - Keerti Purswani
Рет қаралды 4,5 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН