Skip to content

Waseem0912-coder/Leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arrays

Sets v/s Arrays the if x in list v/s if x in set

•	The list approach checks for membership using a linear search, resulting in O(n^2) time complexity for the worst case.
•	The set approach uses hash-based membership checks, achieving O(n) time complexity.

when reducing the Big O speeed use sets instead of lists in array problems

About

List of problems solved at Leetcode using various lists

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published