Skip to content
python hub, python-hub.com, pythonhub
  • Home
  • Basics
  • Intermediate
  • OOP
  • Advanced
  • Projects
  • Quizes
  • CTk GUI
  • About Us
  • Toggle website search
Press Escape to close the search panel.
Menu Close
  • Home
  • Basics
  • Intermediate
  • OOP
  • Advanced
  • Projects
  • Quizes
  • CTk GUI
  • About Us
  • Toggle website search

.

Uncategorized

1347. Minimum Number of Steps to Make Two Strings Anagram – Solution [Brute-Force to Best]

Here’s the question link on Leetcode 1347. Minimum Number of Steps to Make Two Strings Anagram: https://leetcode.com/problems/minimum-number-of-steps-to-make-two-strings-anagram/description Brute Force - Frequency CountingOptimal - Single Frequency Array Brute Force - Frequency…

0 Comments
November 30, 2026
Let's Face DSA

38. Count and Say – Solution [Brute-Force to Best]

Here’s the question link on Leetcode 38. Count and Say: https://leetcode.com/problems/count-and-say/description Brute Force - Recursion O(n × L)Optimal - Iterative Approach Brute Force - Recursion O(n × L) We can…

0 Comments
November 29, 2026
Let's Face DSA

242. Valid Anagram – Solution [Brute-Force to Best]

Here’s the question link on Leetcode 242. Valid Anagram: https://leetcode.com/problems/valid-anagram/description Brute Force - SortingOptimal - Frequency Counting Brute Force - Sorting The simplest approach is to sort both strings. If…

0 Comments
November 28, 2026
Let's Face DSA

459. Repeated Substring Pattern – Solution [Brute-Force to Best]

Here’s the question link on Leetcode 459. Repeated Substring Pattern: https://leetcode.com/problems/repeated-substring-pattern/description Brute Force: Try Every Possible SubstringOptimal: String Concatenation Trick Brute Force: Try Every Possible Substring The idea is to…

0 Comments
November 27, 2026
Let's Face DSA

3. Longest Substring Without Repeating Characters – Solution [Brute-Force to Best]

Here’s the question link on Leetcode 3. Longest Substring Without Repeating Characters: https://leetcode.com/problems/longest-substring-without-repeating-characters/description Brute Force: Generate Every SubstringOptimal: Sliding Window + Hash Map O(n)Example Brute Force: Generate Every Substring The…

0 Comments
November 26, 2026
  • 1
  • 2
  • 3
  • 4
  • …
  • 64
  • Go to the next page
Press Escape to close the search panel.

Categories

Recent Posts

  • 1347. Minimum Number of Steps to Make Two Strings Anagram – Solution [Brute-Force to Best]
  • 38. Count and Say – Solution [Brute-Force to Best]
  • 242. Valid Anagram – Solution [Brute-Force to Best]
  • 459. Repeated Substring Pattern – Solution [Brute-Force to Best]
  • Home – python-hub
  • Contact Us
  • Privacy Policy
  • About Us
  • Projects
  • Basics
  • Quick Ref
  • CTk
  • Intermediate
  • Python GUI
  • OOP
  • Quizes
  • Advanced
  • Challenges
  • CodeCraft
  • Flutter
  • Tech Tool Spotlight
Copyright © - python-hub.com All Rights Reserved