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

43. Multiply Strings – Solution [Brute-Force to Best]

Here’s the question link on LeetCode 43. Multiply Strings:- https://leetcode.com/problems/multiply-strings Brute Force: Convert and Multiply O(m + n)Optimal: O(m × n) Brute Force: Convert and Multiply O(m + n) The…

0 Comments
November 20, 2026
Uncategorized

468. Validate IP Address – Solution [Brute-Force to Best]

Here’s the question link on LeetCode 468. Validate IP Address:- https://leetcode.com/problems/validate-ip-address/description Optimal O(n) String Splitting + Validation Optimal O(n) String Splitting + Validation My approach here is pretty straightforward. We…

0 Comments
November 19, 2026
Let's Face DSA

15. 3Sum – Solution [Brute-Force to Best]

Here’s the question link on LeetCode 15. 3Sum: https://leetcode.com/problems/3sum/description Brute Force O(n³)Better O(n²) Sorting + Hash SetOptimal O(n²) Two Pointers Brute Force O(n³) The simplest approach is to try every…

0 Comments
November 18, 2026
Let's Face DSA

442. Find All Duplicates in an Array – Solution [Brute-Force to Best]

Here’s the question link on LeetCode 442. Find All Duplicates in an Array: https://leetcode.com/problems/find-all-duplicates-in-an-array/description Brute Force - O(n^2)Better O(n log n)Optimal O(n)Code lines explained Brute Force - O(n^2) The simplest…

0 Comments
November 17, 2026
Let's Face DSA

1144 Decrease Elements To Make Array Zigzag – Solution [Brute-Force to Best]

Here’s the question link on LeetCode 1144 Decrease Elements To Make Array Zigzag: https://leetcode.com/problems/decrease-elements-to-make-array-zigzag/description Brute Force - O(n × max(nums))Code explainedOptimal - O(n)Code explained Brute Force - O(n × max(nums))…

0 Comments
November 16, 2026
  • Go to the previous page
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • …
  • 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