Fisher Coder
Fisher Coder
  • 182
  • 761 884
How I passed AWS Solutions Architect - Professional Exam Again | Re-certified - AWS Ep 12
⭐ Shop on Amazon to support me: www.amazon.com/?tag=fishercoder0f-20
Thoughts and tips after passing AWS Solutions Architect - Professional Exam Again after three years.
⭐ Support my channel and connect with me:
czcams.com/channels/PL5uAbYQ40HwAdOe4ikI0w.htmljoin
See how I passed other AWS Certificate Exams here: czcams.com/play/PLK0ZC7fyo01IBhit29klrSjuIdH4TotsL.html
// TOOLS THAT I USE:
○ Memory Foam Set Keyboard Wrist Rest Pad - amzn.to/3cOGOAj
○ Electric Height Adjustable Standing Desk - amzn.to/2S9YexJ
○ Apple Magic Keyboard (Wireless, Rechargable) - amzn.to/36gy5FJ
○ Apple Magic Trackpad 2 (Wireless, Rechargable) - amzn.to/36ltimu
○ Apple MacBook Pro - amzn.to/30iSvKE
○ All-In One Printer - amzn.to/34etmSi
○ Apple AirPods Pro - amzn.to/2GpVYQf
○ My new favorite Apple Watch - amzn.to/2EIIUFd
// MY FAVORITE BOOKS:
○ Introduction to Algorithms - amzn.to/36hxHXD
○ Designing Data-Intensive Applications - amzn.to/2S7snOg
○ Head First Java - amzn.to/2ScLDKa
○ Design Patterns - amzn.to/2SaGeU2
Support me on Patreon: www.patreon.com/fishercoder
My ENTIRE Programming Equipment and Computer Science Bookshelf:
www.amazon.com/shop/fishercoder
And make sure you subscribe to my channel before you go!
#solutionsarchitectprofessional #awssap #amazonwebservices #aws #certification #cloudcomputing #softwareengineering #coding #interview #SDE #SWE #SiliconValley #programming #datastructures #whizlabs #certificate #exams #sysops #leetcode #algorithms #amazonwebservicestutorials
zhlédnutí: 1 669

Video

LeetCode 2716. Minimize String Length - Interview Prep Ep 142
zhlédnutí 931Před rokem
⭐ Shop on Amazon to support me: www.amazon.com/?tag=fishercoder0f-20 Problem link on LeetCode 2716. Minimize String Length: leetcode.com/problems/minimize-string-length/description/ Solution on Github: github.com/fishercoder1534/Leetcode/blob/master/src/main/java/com/fishercoder/solutions/_2716.java ⭐ Become a member: czcams.com/channels/PL5uAbYQ40HwAdOe4ikI0w.htmljoin // TOOLS THAT I USE: ○ Me...
LeetCode 2696. Minimum String Length After Removing Substrings - Interview Prep Ep 141
zhlédnutí 788Před rokem
⭐ Shop on Amazon to support me: www.amazon.com/?tag=fishercoder0f-20 Problem link on LeetCode 2696. Minimum String Length After Removing Substrings: leetcode.com/problems/minimum-string-length-after-removing-substrings/description/ Solution on Github: github.com/fishercoder1534/Leetcode/blob/master/src/main/java/com/fishercoder/solutions/_2696.java ⭐ Become a member: czcams.com/channels/PL5uAbY...
LeetCode 2670. Find the Distinct Difference Array - Interview Prep Ep 140
zhlédnutí 517Před rokem
⭐ Shop on Amazon to support me: www.amazon.com/?tag=fishercoder0f-20 Problem link on LeetCode 2670. Find the Distinct Difference Array: leetcode.com/problems/find-the-distinct-difference-array/ Solution on Github: github.com/fishercoder1534/Leetcode/blob/master/src/main/java/com/fishercoder/solutions/_2670.java ⭐ Become a member: czcams.com/channels/PL5uAbYQ40HwAdOe4ikI0w.htmljoin // TOOLS THAT...
LeetCode 2596. Check Knight Tour Configuration - Interview Prep Ep 139
zhlédnutí 562Před rokem
⭐ Shop on Amazon to support me: www.amazon.com/?tag=fishercoder0f-20 ⭐ NordVPN to protect your online privacy: go.nordvpn.net/aff_c?offer_id=15&aff_id=82405&url_id=902 ⭐ NordPass to help manage all of your passwords: go.nordpass.io/aff_c?offer_id=488&aff_id=82405&url_id=9356 Problem link on LeetCode 2596. Check Knight Tour Configuration: leetcode.com/problems/check-knight-tour-configuration/des...
LeetCode 876. Middle of the Linked List - Interview Prep Ep 138
zhlédnutí 531Před rokem
⭐ Shop on Amazon to support me: www.amazon.com/?tag=fishercoder0f-20 ⭐ NordVPN to protect your online privacy: go.nordvpn.net/aff_c?offer_id=15&aff_id=82405&url_id=902 ⭐ NordPass to help manage all of your passwords: go.nordpass.io/aff_c?offer_id=488&aff_id=82405&url_id=9356 Problem link on LeetCode 876. Middle of the Linked List: leetcode.com/problems/middle-of-the-linked-list/description/ Sol...
LeetCode 235. Lowest Common Ancestor of a Binary Search Tree - Interview Prep Ep 137
zhlédnutí 570Před rokem
⭐ Shop on Amazon to support me: www.amazon.com/?tag=fishercoder0f-20 ⭐ NordVPN to protect your online privacy: go.nordvpn.net/aff_c?offer_id=15&aff_id=82405&url_id=902 ⭐ NordPass to help manage all of your passwords: go.nordpass.io/aff_c?offer_id=488&aff_id=82405&url_id=9356 Problem link on LeetCode 235. Lowest Common Ancestor of a Binary Search Tree: leetcode.com/problems/lowest-common-ancesto...
LeetCode 704. Binary Search - Interview Prep Ep 136
zhlédnutí 510Před rokem
⭐ Shop on Amazon to support me: www.amazon.com/?tag=fishercoder0f-20 ⭐ NordVPN to protect your online privacy: go.nordvpn.net/aff_c?offer_id=15&aff_id=82405&url_id=902 ⭐ NordPass to help manage all of your passwords: go.nordpass.io/aff_c?offer_id=488&aff_id=82405&url_id=9356 Problem link on LeetCode 704. Binary Search: leetcode.com/problems/binary-search/description/ Solution on Github: github....
LeetCode 242. Valid Anagram - Interview Prep Ep 135
zhlédnutí 1,8KPřed rokem
⭐ Shop on Amazon to support me: www.amazon.com/?tag=fishercoder0f-20 ⭐ NordVPN to protect your online privacy: go.nordvpn.net/aff_c?offer_id=15&aff_id=82405&url_id=902 ⭐ NordPass to help manage all of your passwords: go.nordpass.io/aff_c?offer_id=488&aff_id=82405&url_id=9356 Problem link on LeetCode 242. Valid Anagram: leetcode.com/problems/valid-anagram/description/ Solution on Github: github....
LeetCode 125. Valid Palindrome - Interview Prep Ep 134
zhlédnutí 648Před rokem
⭐ Shop on Amazon to support me: www.amazon.com/?tag=fishercoder0f-20 ⭐ NordVPN to protect your online privacy: go.nordvpn.net/aff_c?offer_id=15&aff_id=82405&url_id=902 ⭐ NordPass to help manage all of your passwords: go.nordpass.io/aff_c?offer_id=488&aff_id=82405&url_id=9356 Problem link on LeetCode 125: Valid Palindrome: leetcode.com/problems/valid-palindrome/description/ Solution on Github: g...
LeetCode 2544. Alternating Digit Sum - Interview Prep Ep 133
zhlédnutí 460Před rokem
⭐ Shop on Amazon to support me: www.amazon.com/?tag=fishercoder0f-20 ⭐ NordVPN to protect your online privacy: go.nordvpn.net/aff_c?offer_id=15&aff_id=82405&url_id=902 ⭐ NordPass to help manage all of your passwords: go.nordpass.io/aff_c?offer_id=488&aff_id=82405&url_id=9356 Problem link on LeetCode 2544. Alternating Digit Sum: leetcode.com/problems/alternating-digit-sum/description/ Solution o...
LeetCode 57. Insert Interval - Interview Prep Ep 132
zhlédnutí 1,3KPřed rokem
⭐ Shop on Amazon to support me: www.amazon.com/?tag=fishercoder0f-20 ⭐ NordVPN to protect your online privacy: go.nordvpn.net/aff_c?offer_id=15&aff_id=82405&url_id=902 ⭐ NordPass to help manage all of your passwords: go.nordpass.io/aff_c?offer_id=488&aff_id=82405&url_id=9356 Problem link on LeetCode 57. Insert Interval: leetcode.com/problems/insert-interval/description/ Solution on Github: gith...
LeetCode 2433. Find The Original Array of Prefix Xor - Interview Prep Ep 131
zhlédnutí 1,2KPřed rokem
⭐ Shop on Amazon to support me: www.amazon.com/?tag=fishercoder0f-20 ⭐ NordVPN to protect your online privacy: go.nordvpn.net/aff_c?offer_id=15&aff_id=82405&url_id=902 ⭐ NordPass to help manage all of your passwords: go.nordpass.io/aff_c?offer_id=488&aff_id=82405&url_id=9356 Problem link on LeetCode 2433. Find The Original Array of Prefix Xor: leetcode.com/problems/find-the-original-array-of-pr...
LeetCode 1061. Lexicographically Smallest Equivalent String - Interview Prep Ep 130
zhlédnutí 930Před rokem
⭐ Shop on Amazon to support me: www.amazon.com/?tag=fishercoder0f-20 ⭐ NordVPN to protect your online privacy: go.nordvpn.net/aff_c?offer_id=15&aff_id=82405&url_id=902 ⭐ NordPass to help manage all of your passwords: go.nordpass.io/aff_c?offer_id=488&aff_id=82405&url_id=9356 Problem link on LeetCode 1061. Lexicographically Smallest Equivalent String: leetcode.com/problems/lexicographically-smal...
LeetCode 2525. Categorize Box According to Criteria - Interview Prep Ep 129
zhlédnutí 252Před rokem
⭐ Shop on Amazon to support me: www.amazon.com/?tag=fishercoder0f-20 ⭐ NordVPN to protect your online privacy: go.nordvpn.net/aff_c?offer_id=15&aff_id=82405&url_id=902 ⭐ NordPass to help manage all of your passwords: go.nordpass.io/aff_c?offer_id=488&aff_id=82405&url_id=9356 Problem link on LeetCode 2525. Categorize Box According to Criteria: leetcode.com/problems/categorize-box-according-to-cr...
LeetCode 2530. Maximal Score After Applying K Operations - Interview Prep Ep 128
zhlédnutí 327Před rokem
LeetCode 2530. Maximal Score After Applying K Operations - Interview Prep Ep 128
LeetCode 2529. Maximum Count of Positive Integer and Negative Integer - Interview Prep Ep 127
zhlédnutí 1,6KPřed rokem
LeetCode 2529. Maximum Count of Positive Integer and Negative Integer - Interview Prep Ep 127
LeetCode 2235. Add Two Integers - Interview Prep Ep 126 #shorts
zhlédnutí 342Před rokem
LeetCode 2235. Add Two Integers - Interview Prep Ep 126 #shorts
LeetCode 2515. Shortest Distance to Target String in a Circular Array - Interview Prep Ep 125
zhlédnutí 391Před rokem
LeetCode 2515. Shortest Distance to Target String in a Circular Array - Interview Prep Ep 125
LeetCode 2520. Count the Digits That Divide a Number - Interview Prep Ep 124
zhlédnutí 419Před rokem
LeetCode 2520. Count the Digits That Divide a Number - Interview Prep Ep 124
LeetCode 1910. Remove All Occurrences of a Substring - Interview Prep Ep 123
zhlédnutí 7KPřed 3 lety
LeetCode 1910. Remove All Occurrences of a Substring - Interview Prep Ep 123
LeetCode 1903. Largest Odd Number in String - Interview Prep Ep 122
zhlédnutí 3,2KPřed 3 lety
LeetCode 1903. Largest Odd Number in String - Interview Prep Ep 122
LeetCode 1861. Rotating the Box - Interview Prep Ep 121
zhlédnutí 4,6KPřed 3 lety
LeetCode 1861. Rotating the Box - Interview Prep Ep 121
LeetCode 1828. Queries on Number of Points Inside a Circle - Interview Prep Ep 120
zhlédnutí 2,9KPřed 3 lety
LeetCode 1828. Queries on Number of Points Inside a Circle - Interview Prep Ep 120
LeetCode 1813. Sentence Similarity III - Interview Prep Ep 119
zhlédnutí 1,7KPřed 3 lety
LeetCode 1813. Sentence Similarity III - Interview Prep Ep 119
LeetCode 1772. Sort Features by Popularity - Interview Prep Ep 118
zhlédnutí 879Před 3 lety
LeetCode 1772. Sort Features by Popularity - Interview Prep Ep 118
LeetCode 1726. Tuple with Same Product - Interview Prep Ep 117
zhlédnutí 818Před 3 lety
LeetCode 1726. Tuple with Same Product - Interview Prep Ep 117
LeetCode 1733. Minimum Number of People to Teach - Interview Prep Ep 116
zhlédnutí 1KPřed 3 lety
LeetCode 1733. Minimum Number of People to Teach - Interview Prep Ep 116
LeetCode 1717. Maximum Score From Removing Substrings - Interview Prep Ep 115
zhlédnutí 2,1KPřed 3 lety
LeetCode 1717. Maximum Score From Removing Substrings - Interview Prep Ep 115
LeetCode 1641. Count Sorted Vowel Strings - Interview Prep Ep 114
zhlédnutí 2,2KPřed 3 lety
LeetCode 1641. Count Sorted Vowel Strings - Interview Prep Ep 114

Komentáře

  • @user-mk7qi6gc2m
    @user-mk7qi6gc2m Před 7 dny

    simply amazing man!

  • @pavanpandya3671
    @pavanpandya3671 Před 10 dny

    java.lang.NullPointerException: Cannot invoke "java.util.TreeMap.floorKey(Object)" because "<local3>" is null at line 19, TimeMap.get at line 71, __Driver__.__helperSelectMethod__ at line 91, __Driver__.__helper__ at line 112, __Driver__.main Can you help me resolve this ?

  • @lacasadepapel9365
    @lacasadepapel9365 Před 11 dny

    glad to have found your channel

  • @bobow4075
    @bobow4075 Před 12 dny

    Very clear explanation

  • @Dstoic
    @Dstoic Před 14 dny

    perfect

  • @Dstoic
    @Dstoic Před 15 dny

    you explain thing very nicely.

  • @mradulshukla3920
    @mradulshukla3920 Před 16 dny

    very well explained man all my doubts are clear now regarding this problem

  • @shiedogaming8111
    @shiedogaming8111 Před 16 dny

    Nicee explanation! Thank you

  • @Dstoic
    @Dstoic Před 17 dny

    0 sec ..

  • @abdulmziya748
    @abdulmziya748 Před 26 dny

    Is there a way to solve this at linear time if we use a hashmap?

  • @spifuntastic621
    @spifuntastic621 Před 29 dny

    Excellent explanation, thanks.

  • @hydrocy.9165
    @hydrocy.9165 Před měsícem

    int maxDepth(TreeNode* root) { int maxDepth = 0; // Initialize the maximum depth int count = 0; // Initialize the current depth counter dfs(root, count, maxDepth); return maxDepth; } private: void dfs(TreeNode* node, int count, int &maxDepth) { if (node == NULL) return; count++; // Increment counter to reflect current depth if (count > maxDepth) { maxDepth = count; // Update maximum depth } dfs(node->left, count, maxDepth); dfs(node->right, count, maxDepth); } }; brother this code works but i cant understand how every recursion call maintain its own count variable

  • @naiduanuradha6
    @naiduanuradha6 Před měsícem

    this is linear search approach, try binary search

  • @christokawuma6962
    @christokawuma6962 Před měsícem

    Hey Fisher, thanks for the video, quick one .. why do keep assigning the list in line "19 and 20".. can't you simply run it without assigning the list?

  • @utkbella
    @utkbella Před měsícem

    Great approach sir !

  • @Virtualexist
    @Virtualexist Před měsícem

    I loved the explanation. The thing is I can understand from he code, but I cannot understand and then code. How to think in a way to write code not read the code? Any tips especially for recursion?

  • @MalobikaNandy
    @MalobikaNandy Před měsícem

    Excellent logic. Super easy. Didn't think this way. Thanks a lot!

  • @abhinvsinh
    @abhinvsinh Před měsícem

    Thank you for sharing and explaining the video. If possible, please also share time and space complexity at the end. I think based on above solution it should be as below but please correct it if it is incorrect. Time complexity: For creating the map, if the number of users are m and maximum number of language spoken by a user is n. The time complexity is O(mn) If total Friendships are k , then creating the boolean array is O(kn) If there are l languages, we are iterating l times * number of friendships k times. O(lk) Total time complexity is O(mn)+O(kn)+O(lk) Space complexity: For creating the map, if the number of users are m and maximum number of language spoken by a user is n. The space complexity is O(mn) If total Friendships are k , then space complexity of boolean array is O(k) The size of teach set at the end cannot be more than that of number of users m thus space complexity is O(m) Total space complexity is O(mn)+O(k)+O(m) which will be equal to O(m*n) as we can drop the other smaller k and m.

  • @kd_dev1192
    @kd_dev1192 Před měsícem

    thanks!!!!

  • @stym-rj
    @stym-rj Před měsícem

    Amazing!!!!!

  • @AshishGupta-xw9yh
    @AshishGupta-xw9yh Před 2 měsíci

    great concept

  • @gravisan
    @gravisan Před 2 měsíci

    You are a god among men.

  • @wyuenho
    @wyuenho Před 2 měsíci

    This is by far the best explanation I've seen on this problem.

  • @arijeetchakraborty117
    @arijeetchakraborty117 Před 2 měsíci

    You made it look so easy. Though It took a few minutes to understand the find method but the overall approach is pretty simple and I have easily replicate that

  • @zfarahx
    @zfarahx Před 2 měsíci

    I don't think you've added enough #fishercode tags in your video.

  • @ahsanshafiqchaudhry
    @ahsanshafiqchaudhry Před 2 měsíci

    beautiful! thank you!

  • @ivandrofly
    @ivandrofly Před 2 měsíci

    I've implemented even a faster solution pastebin ref -> 1yPw0SSG

    • @ivandrofly
      @ivandrofly Před 2 měsíci

      private bool IsBreakableIntoMultiple(string word) { var dp = new bool[word.Length + 1]; var len = word.Length; dp[^1] = true; for (int j = len; j > 0; j--) { for (int i = 0; i < j; i++) { // if (i + j > maxWordInDic) // { // continue // } var checkWord = word.Substring(i, j - i); if (dp[j] && Dictionary.Contains(checkWord)) { dp[i] = true; j = i + 1; // +1 since loop will j-- break; } } } return dp[0]; }

  • @vedant3230
    @vedant3230 Před 3 měsíci

    Why make a video, if you only have the Brute Force Approach to Discuss

  • @umni_kot
    @umni_kot Před 3 měsíci

    lol rly same code for all problems

  • @PratyushMajumdar
    @PratyushMajumdar Před 3 měsíci

    Thank you sir.....it took me a while to understand your explanation but now it's finally clear!!

  • @ivandrofly
    @ivandrofly Před 3 měsíci

    Any one also getting exception?

    • @ivandrofly
      @ivandrofly Před 2 měsíci

      Was using c# in c# substring needs to s.Substring(i, j-i)

  • @ikrammaududi6205
    @ikrammaududi6205 Před 4 měsíci

    Nice man, other youtube videos just write the recursive answer without really explaining it. But you can explain it in a simple way

  • @sfds1
    @sfds1 Před 4 měsíci

    🧠

  • @speed-stick
    @speed-stick Před 4 měsíci

    Why in the code you increment j until it reaches i and only then increment i, but in the presentation you increment i first and then at some unclear point you increment j?

  • @100deep1001
    @100deep1001 Před 4 měsíci

    Best visualization out there. Thanks

  • @chithyFly
    @chithyFly Před 4 měsíci

    Guy, great explanation with code and graph!!! thank you, keep going.

  • @fufuto
    @fufuto Před 4 měsíci

    In line 8, can't we just create the treemap as a new TreeMap, why do we equal it to "map.get(username[i])"? We are already mapping it with username, the newly created tree map at line 10 while putting it into the map.

  • @rehantt7341
    @rehantt7341 Před 4 měsíci

    Sir will u come back to CZcams again

  • @tech-spv
    @tech-spv Před 5 měsíci

    Amazing content, thank you!

  • @velapradhan
    @velapradhan Před 5 měsíci

    Thanks but your code not passed successsfully if you not add last line like this complete Query is: # Write your MySQL query statement below SELECT s.student_id, s.student_name, sub.subject_name, COUNT(e.subject_name) AS attended_exams FROM Students s JOIN Subjects AS sub LEFT JOIN Examinations e ON s.student_id=e.student_id AND sub.subject_name = e.subject_name GROUP BY s.student_id, sub.subject_name ORDER BY s.student_id, sub.subject_name;

  • @1murkeybadmayn
    @1murkeybadmayn Před 5 měsíci

    i don't understand your explanation, why are you incrementing i before j? j is nested inside the i loop but you started by looping through i before j??

    • @FisherCoder
      @FisherCoder Před 5 měsíci

      If you set a few breakpoints and walkthrough the code, you'll have a better sense of the code. Good luck!

  • @fernieqin90903
    @fernieqin90903 Před 5 měsíci

    recently got asked with this problem i used a similar approach (almost identical)

    • @zuccca
      @zuccca Před 4 měsíci

      which company?

  • @Sranju23
    @Sranju23 Před 5 měsíci

    Nice explanation, thanks👍

  • @ayushkandwal8851
    @ayushkandwal8851 Před 6 měsíci

    one of the most optimized approch thanks bro

  • @mukilanmukilan7364
    @mukilanmukilan7364 Před 6 měsíci

    Give important topics leetcode bro give question sheet

  • @helenfish9827
    @helenfish9827 Před 6 měsíci

    SELECT a.student_id, a.student_name, b.subject_name, COUNT(c.subject_name) AS attended_exams FROM Students as a JOIN Subjects as b LEFT JOIN Examinations as c ON a.student_id = c.student_id AND b.subject_name = c.subject_name GROUP BY a.student_id, b.subject_name ORDER BY a.student_id, b.subject_name

  • @Sranju23
    @Sranju23 Před 6 měsíci

    Can someone explain why there are two lines of stack.pop() 😭 I understood first one but not second

  • @varunpalsingh3822
    @varunpalsingh3822 Před 6 měsíci

    you way of explanation is good

  • @pengchen4556
    @pengchen4556 Před 6 měsíci

    QUESTION: using set instead of map may has some issues. what if there is two duplicate in the sliding window and one is just about to be outside the window and needed to be removed. we cannot set.remove(e), since another one may be still in the window

  • @vrnkna
    @vrnkna Před 7 měsíci

    Goated video. The helper function makes it similar to the iterative solution and now this way sticks in my mind 😃