Related Posts
Any cybersecurity professionals from Wells Fargo,how is the company in terms for career growth, WLB, benefits, compensation and job satisfaction. I have accepted an offer from WF as it deemed fit and a good switch from SOC to an engineering profile. Looking to know more on the Cybersecurity space in Wells Fargo.
Role : Infosec eng.
More Posts
Anyone from MAQ software, please DM
Additional Posts in Tech
Has Facebook brought the world closer?
What's a good crypto wallet app?
The answer is to just memorize the solutions. After you've memorized and seen many problems, review the problems and you'll identify the pattern and tricks across them all. Then you'll be able to solve new ones.
Memorizing solutions will get you nowhere. You'll have to act like you're discovering the answer rather than you already knew it. A lot of companies will give you multiple problems, odds are you're gonna slip up somewhere if you're relying on memory.
And most importantly it's actually a very poor use of time. Even if you get a job, over time your memory will slip. You'll forget the solutions and be back to square 1 on the next job search
As DS1 said, you need to learn the basic concepts (i.e. algorithms and data structures) first. Once you understand the basics, you can break down the problem into smaller parts.
Don't just memorise the solutions and hope you get those questions in an interview though; it is actually blindingly obvious to us interviewers that's what you did!
The hard truth is you just have to keep practicing and improving your problem solving skills. This will take you years, and you'll never stop learning!
I think the assessment companies use is timed. So work on your speed as well.
Don't memorize the problems. Memorize strategies and coding patterns.
For example, if you have a tree or a graph problem, you'll typically need to decide between DFS and BFS. You might memorize some clean boilerplate for each of those so you have a solid starting point.
For something like memoization, you might memorize the strategy of caching your values right before you return them.
There really aren't that many types of problems and strategies to solve them. Learn the strategies, not the problems or the algorithms.
When practicing, don't spend hours bashing your head against a single problem. If you get stuck too long, try to find a hint somewhere. Or find a different problem and try again later. I like using structy for this
This thread is a life-saver. Been struggling for months as well. Thank you for sharing some tips :)
You could try AlgoExpert. It’s a paid subscription with similar questions to leetcode but there are video solutions for every question that go over the concept and code walk through.