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

What is the longest you have seen someone with less than 50% utilization stay in a firm?

like

I am mainframe developer and having 8+ years of experience. I am planning to learn latest technology and few of them suggested to learn Oracle CPQ or Commerce cloud.

Is oracle CPQ or commerce cloud are good for the future of the career? Please advice.

like

I have been in client facing wealth management as an advisor for 10 years. I haven’t built a book of business because I’ve worked for mostly discount brokers (Merrill edge, TDA, Etrade). I want to know how to transition to a non client facing role in wealth management or another financial role. I am series 7 and series 66 licensed. Any thoughts?

like

Is it possible to transition from antitrust litigation to general litigation?

like

So I have few question( Please answer these questions are asked by most of the freshies)
1) After document submission , How much time do they take to release offer letter for freshers ? Its been month for me not received till now
2) How is growth opportunities for fresher member technical.
3) Is there any relocation reimbursement (or any other benefits)
4)Is there free food available
5) will they give macbook to fresher or which laptop

As a 20+ year lawyer with no big law experience (smaller and mid size firms plus government and in house experience), would a BigLaw firm even consider me? Perhaps an of counsel position? Even a senior associate?

like

What’s it like working at MBB at the manager level? Anyone here lateral from b4 or ACN? Have an offer and curious about your experiences.

like

Anyone know how to get a position as an HRBP without HRPB experience? All positions I've looked at want previous experience. Would over 5 years of HR experience and a PHR suffice, or what skills should be added to that?

like

Hi folks!
An active military personnel, looking for job opportunities back in corporate with overall experience of 11 years(8 military+3 corporate).

How to go about switching? specially to technical domain

Experience of sas, Oracle, Java

like

Hi all,
I am tech guy with almost 3yr exp, but I want to switch to a Management role. Going for an MBA is not possible for me. I was wondering about the possibility to switch to a management role within the next 2 years without an MBA. Company/Brand is not a bar for me.
Can somebody please suggest how to do this?

like

Curious. Who are the top players in ESG/sustainability consulting in Canada right now and what skills are they looking for?

like

Quality engineering VS software engineering. I am currently a quality engineer in medical device. I have 4.5 years of experience. I’m stuck between getting a degree and continuing in quality / manufacturing or switching to software where I know money is great. Thoughts?

likehelpful

Making a switch from software engineer to product management.
I have been a one man show for most of my projects in years prior and have lead 2-3 engineers and 2 BAs on my recent projects.

How difficult is it to make a switch? 12 years experience in IT.

like

Advice for trying to go in house or client side? Recruiters don’t have many of these positions...

like

Questions on getting into PE:
- Would it be better to try to go MBB Associate to PE Analyst/Associate (not sure of the level), or go MBB to IB to PE?

- Is it better to try to leverage industry experience to target specific funds or be a generalist?

- Does anyone have resources on making the transition (recruiting tips, modeling exercises, etc.)?

like

Hi! I’ve been in hospitality & management for over 10 years and desperate for a career pivot. As anyone in restaurants knows, the work is ~80 hours a week and often making less on salary than your own tipped-wage employees. I have experience with training, team building, HR, financial analytics, client needs, communications and so much more. Does anyone have recommendations on a new career path or job listings to investigate??

like

Is there a "too old" stage to pursue a master's? Currently 25, 3 YOE

like

Hi fishes, can you please help me with the years of experience required for a consultant role in KGS?

like

At each increment/appraisal management giving excuses for not giving a good hike they say kindly add more degree/certification to your profile
Why don't they advise these thing the whole year

They only give more n more load of work during the time and say take more responsibilities do work independently the more experience you have the bigger your ctc will be but things change

Is your life any better after GC ?

I am in the EB1 C boat with July 17 PD, but keep asking these questions to myself :
how would a GC change my life ? Other than giving me an option to switch.

More Posts

Any insights on how consulting sales targets are set?

like

A reminder to all: we are going through very difficult times. Please help someone who has gotten laid off if you can!

like

Does Kearney have experience hire recruiting cycle?

like

Question : I want to change career from a support engineer to sales. Is that possible ? I have 4 YoE in technical support and want to change to sales.
Any ideas where to start, and what positions I should be looking for given I have not worked sales before ?

like

It's my first time doing it.

Post Photo
like

Any thoughts on Laronde?

like

YOE : 7.8 i have an offer from IBM and HCL.
IBM : 18 fixed + 1 JB HCL : 21 ( 18 fixed + 1lakh approx (monthly variable) + 2 lakh Annual variable ) . Now i have a discussion pending with Robert Bosch , What should i quote ! Which will be better for job security and work life and overall career growth .

like

Really struggling at work:
I’m in that awkward stage between a PM and Senior PM and the expectation from me is to be proactive, strategic and work independently. However I’ve struggled massively due to lack of experience, sometimes knowledge and not having the ability to see the bigger picture so I don’t know what else is required or needed to move the needle.
Currently, there is nothing strategic for me to work on as i don’t have the trust from my manager to own anything

like

Hi All,
BA in Cognizant (pckg-16.5)
or
BA in FIS (packg 19.5)-payments

like

I deeply miss my ex. The breakup was initiated by me 5 years ago because I was scared to commit. Since then, I’ve gotten married and have a daughter. I’m so embarrassed to admit it but I think about my ex everyday. I am so sad that I walked away from him. Life is ok now - I’m thankful for my family but my heart hurts. How do I move on?

Anyone have tips on first round growth capital/VC case interview? They say there’s gonna be a test on investing acumen.. whatever that means.

like

Is direct lending/private credit technically buy side?

like

Would you rather work with someone who is always diplomatic or someone who always keeps it real?

like

Has anyone use the Felicia Leatherwood Detangler Brush?

Need 25 likes to unlock DM.

Just kidding !

Just 12.

likefunnyuplifting

How I look after carrying all my personal belongings to the office, airport, and home every week

Post Photo
likefunnysmart

I’m looking to hire a full time strategy director. Big agency experience. NYC based agency, but remote for the foreseeable future. Drop me a DM with you email or website if you’re interested!!

like

My joining date is oct 10th. Can anyone please explain how will be the virtual onboarding and process of collecting laptop and id card?

like

Additional Posts in Tech

Tips/concepts to know for Google Data Center Technician interview? I’m coming from help desk so I’m not super well versed in hardware/networking

like

Currently a Product Manager at Amazon. Made it to final round at GitHub where I have to present a case study and do an interview loop. Is it worth to leave amazon for GitHub of money is right? (Theoretically speaking if there is an offer at the end of this).

likehelpful

Folks who managed to switch jobs in this economy, how did you get the job? Did a recruiter reach out to you ? Or did you go on sending out applications?

likesmart

How long will the Salesforce hiring freeze last?

like

If you've worked at multiple FAANG companies, what's your secret?

like

What is the most you spent on at-home office furniture and do you hate yourself for it now that you're returning to work?

like

How is mechanical engineering at places like Microsoft Google Facebook (Meta)? How's work life balance and salary, compared to the defense industry?

like

What can I be doing in my current entry level tech consulting job to make me a great candidate for promotions/raises or changing jobs in the next year or 2?

like

So, what's the difference between Digital Deloitte and Doblin? Is Doblin within Digital? Are they competing subgroups? Just trying to wrap my head around Deloitte's innovation design structure...Deloitte

like

I have been interviewing for a new job but I keep hearing about layoffs and a recession coming. Is now a bad time to switch jobs?

like

Senior PM in healthcare IT, with my PMP. I have a promotion coming to Program Manager. What type of salary increase should I expect? I am sure they will lowball me, and I understand there is a wide range. I make 126k now. It’s a lot more work, and I want to make sure it’s worth it. Inflation alone should be a 9% raise 😑

like

Equifax What is the salary bracket for 6 years experience candidate at Equifax in Atlanta and also St Louis?

likefunny

I’m based in Northern California and the last few companies I’ve either worked for or interviewed with don’t carry Kaiser on in their benefits package. If you’re reading this, does your company carry Kaiser? What company do you work for?

like

For remote folks: am I more likely to find a remote role that allows me to move around multiple times during my tenure at a big FAANG-like company, or a startup? what are things I should look out for in my search?

like

Our architect is micromanaging all the work before it goes to the dev team. This is slowing us down quite a bit. Any pieces of advice?

like

I'll switch to a startup as the only data engineer and will closely work with all the Head ofs + the CTO.

Any advice/books/... on stakeholder management at that level? Especially when things fail/discussing budgets/new hires etc.

like

Resigned from my job for blatant racism last week. Been a contingent worker for 6 months. The manager that recruited me unfortunately left after a couple weeks and went to another company. She however recommended me for the permanent opportunity to higher management. The acting manager came in, permanent role was posted, I applied, interviewed……manager told me they chose someone else external for the role. I could sense the manager had no intentions to hire me permanently

like

Have any of you enrolled in or completed the Penn MCIT program and be willing to chat about your experience?

like

Cont. from Previous Post 3 mos 8 rounds: Thank you for your interest in NR. We appreciate the time you took to apply for the CSM position. We were very fortunate to have a strong group of applicants to consider for this role and have recently filled this position. Unfortunately, because this role is no longer available, we will not be moving forward with your application. We will hold onto your application, and if a position opens that closely matches your skillset, we may contact you.

Hi all! Looking for some advice please!
I am looking to stir my career into a Project Management role. I have some work experience in managing IT Projects but don't have the title. Is working towards a PMP Certificate worth investing time and money in worth it or should I just apply for a PM role?
Thank you in advance!

like

New to Fishbowl?

Download the Fishbowl app to
unlock all discussions on Fishbowl.
That was just a preview…
Sign Up to see all discussions
  • Discover what it’s like to work at companies from real professionals
  • Get candid advice from people in your field in a safe space
  • Chat and network with other professionals in your field
Sign up in seconds to unlock all discussions on Fishbowl.

Already a user?
Login here

Share

Embed this post

Copy and paste embed code on your site

Preview

Download the
Fishbowl app

See what’s happening in your industry
from the palm of your hand.

A phone with Fishbowl app

Scan your QR code to download
Fishbowl app on your mobile

Download app

Sign up for free to view this conversation on Fishbowl

By continuing you agree to Terms of Use and Privacy Policy

Already have an account? Log in

Sign up for free to continue using Fishbowl

By continuing you agree to Terms of Use(New) and Privacy Policy(New)
Messaging rates may apply

Already have an account? Log in

For account settings, visit Fishbowl on Desktop Browser or

General

Legal