For anyone who cracked the leetcode questions. I’ve been going at it for months but spend hours trying to get to a solution and hours trying to understand why the “answer key” works. Can someone please share how you learned these questions? Probably going to give up and switch careers soon.

Posting as :
works at
You are currently posting as works at

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.

likefunny

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!

like

I think the assessment companies use is timed. So work on your speed as well.

like

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

like

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.

Related Posts

Guess who’s back! Being away from my home for so long was very hard. I missed my family and my dog. I am ready to be discharged and follow other career opportunities!

like

I was promoted to manager in July 2020 (3,5 yr of experience). Currently preparing for YE but honestly, I couldn’t care less - what motivates one to push for SM promotion? Not my case atm, but wanted to hear what motivates ppl to keep going as I don’t feel like it’s worth it.

like

Hello Fishes,

Could you enlighten me about which role has more demand in market AWS developer or AWS Solutions architect?

like

Everyone says that getting a Master's in cyber isn't worth the time/money. Certs are better. But surely an MS in cyber could benefit in some way. In what career path would a degree like this help?

like

not sure how to position myself to pivot into tech. would love some thoughts/roles that come to mind.

i feel like i’m in a nice venn diagram of skills. i’m technical, client facing, and have decent business sense (i think lol).

2 YOE in analytics at an ad agency. i do work around market research, media reporting, and incrementality (store visits, brand lift, etc).

stack: alteryx, tableau, spss, excel.

i can kinda read and write sql/python, but rusty from not using it in my day to day.

like

Which CPAs exam did you feel were the hardest and why?

like

I am someone from the aviation industry but am done with flying....I would love to know what can be done after quoting aviation i have done my masters in botany and would not want to pursue anything in that either

like

What are the exit opportunities for an HCM Oracle Cloud consultant with 8 years of experience? What additional skills of experience should I look into to make it easier to leave consulting?

likehelpful

Anyone from BNY Mellon | Pershing ?
How's the Work from home policies now?
Are you started to work from office?

Pls also help me with company culture, tech and growth aspects

How much you can expect for 5+ yrs

like

Someone messaged me about their Private Client Services group at a Big 4 firm. It sounds like consulting and I was hoping someone might have insights into what the job would look like. Any help would be greatly appreciated!

like

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.

I am looking to get into Tech sales from healthcare sales. I have 16 years of experience. Any advice on companies to look at? Or will a Tech company expect me to come in at a lower level than Account Executive?

like

Hi Fishbowl Friends! I’m looking in to starting a masters program in 2023. Background on me - I’ve been in HR for a little over 4 years now and earned my SHRM-CP last spring. Looking for more ways to improve.

Would you recommend any specific schools or master programs? I’m in Tampa, FL but I know most programs are remote these days. :)

like

I will be finishing my PhD in Molecular Oncology (4y) around spring and I have started to look for a job afterwards. Right now I´m based in Spain but I will move to NY upon thesis defense (will hold all the necessary papers to work in the in the US). I want to switch to industry, however.. is it easy coming from an academic background? In which positions does my profile fit? Appreciate the advice! Thanks :D

like

EY salary band for Experienced Hire SC, no MBA. Also what is the expected amount of time at this level before Promo to M? Is it up or out like other B4 firms?

like

Has anyone gotten on sabbatical during senior associate years? What was the reason for sabbatical? PwC always talk about flexibility and sabbatical shit but I wonder if they actually let you take them

like

I’m interested in both ScrumMaster and Product Owner roles. I have 2.5 YOE. As a strategist, vc associate, IT business analyst 3.

I keep looking at SM and PO roles but they all mandate prior SM and PO exp. How can I make the transition?

like

Hello I am currently working in BI and want to switch career track from BI to data science please suggest some good course for the same

like

I have 7 years of experience in Software development and want to up-skill myself with hot skills of today. Please help me to do with better choices.

like

Hey all! I’m looking for a less stressful job! Does anyone have any insight on public health (Dhec) nurse jobs?

like

More Posts

Hi Desi consultants, need a quick advice- I’ve saved around $50k in my bank account and going to liquidate another $50k that I have in fixed deposits in India (they’ll mature soon) to buy a condo here in US. However, I do not think I’ll be able to close the condo deal before Jan 2022 as such, need some suggestion as where to invest some term (6-8 months) to earn more…

like

Can you all stop with the posts like ..... Go! Life is not a competition and neither is this app

like

What is the average duration at Director before promotion to MD/P at KPMG?

like

Has anyone here transitioned into Data Analytics from audit/FP&A? I’m interested in potentially going that route but not sure how to get started (currently in FP&A and former audit). I see Data Analysts typically require a background in SQL, which I don’t use in my current role. Would it be beneficial to take SQL courses and earn certifications to add to my linkedin? Also, is the work better and more interesting than audit/FP&A?

like

Hello, everyone!
My company got laid off recently and Iam looking for a new oppourtunity in Cyber security field.
I am a cyber security graduate with one year of experiance. If anyone knows of a job opening where I would be a good fit, please let me know!!
I am looking for job openings based in Canada and US.
Any leads would be appreciated!!

like

How is SAP consulting in EY and PWC? How to compare it to Deloitte or Accenture? The HR is taking forever to respond promptly at EY and PWC. Bad sign?

Hi all,

Does DXC technologies have good work life balance? In Australian project for Oracle Apps DBA.

If anyone knows please suggest.

Thanks in advance

How much in hand will be required enough to have a quality life inside kerala with spouse,kids and parents? What are the various ways that you are following to achive it(to get the salary and/or live with whatever currently you are earning)? Do you have any source of second income? What are the various investments that you are following?
Please do share.

like

What carriers do you all feel is the best to work for? I’ve heard so many horror stories with Geico lately

like

Anyone from MAQ software, please DM

like

I don’t understand why, but I like those HR Block ads where the employees are singing in the office and doing some effed-up dance. Is it so bad it’s good, or am I just confused?

like

So something crazy happened to me last week. I was at the airport, and as usual on call after call. The check in line was going ridiculously slowly and at some point turned threw my hands up in frustration while looking around to find another place to check in. In doing so, I catch the eye of the behind me. He smiles and says something. I just sort of nod and carry on with my call. After that, he keeps trying to talk to me, eventually I got to the check, say bye and leave. At security… tbc

like

Hey Guys, Hope you all are doing great. Can someone let me know about the work culture, is Saturday working, are there any shifts and benefits of HSBC Electronic data processing india, ecospace, Bangalore?

Anyone here work at Salesforce in San Francisco? Are you guys still working from home or are you gonna be going back to the office anytime soon?

like

I would like to quiet quit. How does one do that in BigLaw?

like

I’m currently an associate with an asian asset management company. I previously have been in pr agencies where work is fast paced and as an intern, i understood the intensity needed to work and consider myself as someone who is really willing to work hard long hours and deal with pressure. This role is something Ive wanted as in to break into the finance world. They described the company to be a fast paced one as they deal with multiple launches but i am finding it slow. Any tips?

like

After graduating in the spring and had an internship this summer (company didn’t hire any interns ) so I have been job searching and not having any luck…so I am slowly considering portfolio school..thoughts on portfolio school; is it worth is ? Looking at Miami ad school

like

Hi, what is CTS on boarding process? Is it virtually happening?

like

Hi fishes

Does Cognizant try to retain employees by matching or coming close to offer in hand of an employee who resigned

Additional Posts in Tech

Asking for a friend, Help choosing between the current offer of 130 work for home an offer of Senior Program Manager 180K in TX from a tech giant for onsite.

like

Would someone from Airbnb be willing to have a virtual coffee chat with me? :)

like

I'm a solid software engineer; I get the job done, I'm reliable, I work hard, i can accomplish almost any technical task with enough time, I'm supposed to be smart; I went to MIT.

But I am in awe of those 10x programmer types, because -- as the name would imply-- they finish everything 10x faster than me. I don't understand how they do it, and I am super envious. I want to be like these guys. But how? Is it even learnable or is it all just God-given talent? How can I become like them?

like

Has Facebook brought the world closer?

funnylike

What level of code do I need to know for an L2 position?

like

What's a good crypto wallet app?

like

What would you consider to be a sign of a "dangerous" neighborhood vs just a city neighborhood? And how could I measure that ahead of time?

like

What do you feel about the OutOnLinkedIn thing? I am a queer woman but it feels weird somehow to post about my personal life/personal identity even though I'm not at all closeted?

like

I’ve recently started working at an amazing company, I love everything about it! The culture, the people, the projects, the flexibility. However, the only problem is me really. I’m fully aware that in life there will be some difficult people to work with, but my patience and tolerance has dropped significantly. I hate that because it took so much for me to get to this position of happiness, I’m carrying my personal baggage and might be scaring people slightly. (1/2)

likeuplifting

Anyone here work at Salesforce in San Francisco? Are you guys still working from home or are you gonna be going back to the office anytime soon?

like

Anyone done Product School’s certification & what was your experience? Was it worth it?

like

What do you think of the backlash against the Tech industry in SF? I feel like it’s ridiculously unfair and reductive.

likehelpful

not sure how to position myself to pivot into tech. would love some thoughts/roles that come to mind.

i feel like i’m in a nice venn diagram of skills. i’m technical, client facing, and have decent business sense (i think lol).

2 YOE in analytics at an ad agency. i do work around market research, media reporting, and incrementality (store visits, brand lift, etc).

stack: alteryx, tableau, spss, excel.

i can kinda read and write sql/python, but rusty from not using it in my day to day.

like

I'm currently looking for a junior project management position, Can anyone give me some recommendations? Preferably remote or in Jacksonville, FL

like

Should executives be able to travel business class as a rule? Our company is making all travel economy-only moving forward, unless it's international. I have really large meetings, sometimes right after arriving, that are pretty significant for the department, and I'm totally shot when I'm taking economy.

like

So what do we think about working at FAANG companies? I personally have stayed away from interviewing with them, as I have heard horror stories about work life balance.

likefunny

Which types of companies do PMs actually own P&Ls?

like