Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 1.09 KB

File metadata and controls

16 lines (12 loc) · 1.09 KB

Optimized-Codes

This repo is mainly for mastering in code optimization starting from beginner level to master level.

📂 Solutions Included

Challenge Name Platform Solution Link Normal Complexity Optimal Complexity
Perfect Number LeetCode View Code O($\sqrt{n}$) O(1)
Divisibility HackerEarth View Code O(n) with 2 loops O(n) single loop
Two Sum LeetCode View Code O(n^2) O(n^2)
Pascal's Triangle LeetCode View Code O(n) O(n)
Longest Substring LeetCode View Code O(n) O(n)

"Simplicity is the soul of efficiency." — Austin Freeman

Code with Joy... 😊