Skip to content

This repo is created to keep track of my advancement in Problem Solving

Notifications You must be signed in to change notification settings

ahmedbahaaeldin/Algorithms-Practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 

Repository files navigation

LeetCode-Practice

My Leetcode "Solution" (in solutions/ folder) to leetcode problems. Its for practicing and tracking progress not 100% optimized.
My Account Link https://leetcode.com/bikanation/

Problem Name Runtime and Memory Usage
1. Two Sum Runtime: 4412 ms
Memory Usage: 15.8 MB
2. Add Two Numbers Runtime: 76 ms
Memory Usage: 14 MB
9. Palindrome Number Runtime: 92 ms
Memory Usage: 14 MB
13. Roman to Integer Runtime: 52 ms
Memory Usage: 14.1 MB
14. Longest Common Prefix Runtime: 40 ms
Memory Usage: 13.9 MB
20. Valid Parentheses Runtime: 40 ms
Memory Usage: 13.8 MB
22. Generate Parentheses Runtime: 164 ms
Memory Usage: 22.5 MB
26. Remove Duplicates from Sorted Array Runtime: 100 ms
Memory Usage: 15.2 MB
27. Remove Element Runtime: 44 ms
Memory Usage: 14 MB
33. Search Rotated Array Runtime: 32 ms
Memory Usage: 14.2 MB
35. Search Insert Position Runtime: 60 ms
Memory Usage: 16.1 MB
39. Combination Sum Runtime: 140 ms
Memory Usage: 30.1 MB
53. Maximum Subarray Runtime: 40 ms
Memory Usage: 13.8 MB
66. Plus One Runtime: 36 ms
Memory Usage: 13.8 MB
122. Best Time to Buy and Sell Stock II Runtime: 92 ms
Memory Usage: 17 MB
226. Invert Binary Tree Runtime: 36 ms
Memory Usage: 13.8 MB
303. Range Sum Query - Immutable Runtime: 96 ms
Memory Usage: 17.2 MB
559. Maximum Depth of N-ary Tree Runtime: 52 ms
Memory Usage: 15.8 MB
690. Employee Importance Runtime: 160 ms
Memory Usage: 14.6 MB
697. Degree of an Array Runtime: 260 ms
Memory Usage: 15.1 MB

About

This repo is created to keep track of my advancement in Problem Solving

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages