I have been doing a lot of lc practice however I always almost struggle with space complexity when evaluating it. I slowly but surely realised not only your solution should be optimal in terms of time it should also be optimal in terms of space.
So can the community please suggest me a good resource for learning this forte because most if not all courses are focused on time complexity.#tech #interviews #faang
Want to see the real deal?
More inside scoop? View in App
More inside scoop? View in App
blind
SUPPORT
FOLLOW US
DOWNLOAD THE APP:
FOLLOWING
Industries
Job Groups
- Software Engineering
- Product Management
- Information Technology
- Data Science & Analytics
- Management Consulting
- Hardware Engineering
- Design
- Sales
- Security
- Investment Banking & Sell Side
- Marketing
- Private Equity & Buy Side
- Corporate Finance
- Supply Chain
- Business Development
- Human Resources
- Operations
- Legal
- Admin
- Customer Service
- Communications
Return to Office
Work From Home
COVID-19
Layoffs
Investments & Money
Work Visa
Housing
Referrals
Job Openings
Startups
Office Life
Mental Health
HR Issues
Blockchain & Crypto
Fitness & Nutrition
Travel
Health Care & Insurance
Tax
Hobbies & Entertainment
Working Parents
Food & Dining
IPO
Side Jobs
Show more
SUPPORT
FOLLOW US
DOWNLOAD THE APP:
comments
(Of course, this is a very quick answer typed up on a phone. But, solve more questions with data structures as the focus and you'll understand how to compute space complexity )
Like if we are traversing an array of size n then won't space complexity be O(n) but auxiliary space used would be O(1).