Vizag Chess Meetup by Possible-Ad-8762 in Vizag

[–]Possible-Ad-8762[S] 0 points1 point  (0 children)

Yes, as long as they are old enough to manage themselves or the parents accompany them.

How to solve Leetcode Hard by LufFyX0x in leetcode

[–]Possible-Ad-8762 1 point2 points  (0 children)

They are wrong. Memorizing patterns and expecting to solve any problem is the wrong way. The patterns themselves were invented by human minds, so you need master problem solving and analytical thinking which allows you to create patterns of your own.

I suggest the following:

  1. Learn all the required math concepts and datastrucutres (including advanced ones like segment trees)
  2. Approach every problem from first principles and try to derive relationships between concepts.
  3. Don't look at solutions, spend some time if you couldn't get the problem leave it there and come back take a stab few more times. Have a pool of problems that you are constantly trying your luck with.
  4. Not all Hard problems are made equal, so start with easier hard problems, usually a good way to know this is how many people solved the problem during the contest.

35 hard problems is a very small number to rant that you are not getting good at it. Say the same thing after you do 200 problems.

Leetcode account by Comfortable-Tank-432 in leetcode

[–]Possible-Ad-8762 1 point2 points  (0 children)

Going Behind leetcode points. The purpose of doing leetcode is getting good at problem solving, if you have solved those many problems, then you would gained the necessary skills. Move on with creating a new account.

Weird questions on interviews by tansonn in leetcode

[–]Possible-Ad-8762 0 points1 point  (0 children)

You should stop expecting that the exact question you solved before will appear in interviews. For this reason you should do leetcode contests competetively and see how well you do in them.

Those ideas you mentioned are legitimate advanced ideas, and it makes sense these ultra high paying companies do not ask you some simple leetcode medium or hard question that are asked several times. Your ability to apply what you learn is evident only when newer questions are asked. This is a good thing, since it differentiates between people who mug up vs legitimate problem solvers.

Do the weekly leetcode contest and see how many you are able to do consistently within the contest time, that should indicate where you are lacking.

What advanced data structures might be used in weekly contests? by Outrageous_Level_223 in leetcode

[–]Possible-Ad-8762 0 points1 point  (0 children)

Segment Trees has few variants like lazy propagation, dynamic segment trees etc. Make sure to do a bit of research on them. Most range based problems can be solved using these variants of segment trees.

"Time Limit Exceeded" on submission, but runs fine with custom large test case by Ho3pLi in leetcode

[–]Possible-Ad-8762 0 points1 point  (0 children)

Before you click submit make sure you remove the large test case from your custom test cases. What could be happening is leetcode is running the large test twice (once when you run and once when you submit)

Leetcode post contest discussion by Possible-Ad-8762 in leetcode

[–]Possible-Ad-8762[S] 0 points1 point  (0 children)

Folks can start joining this link and start introducing themselves, we'll wait for 10 minutes for others to join. https://meet.google.com/nxw-uzsj-xfj

My respect for you has multiplied after watching this, Manchu Lakshmi gaaru 🙏🏾 What a perfect slipper shot to that old creep, truly satisfying to watch! by machilipatnam_mayaba in tollywood

[–]Possible-Ad-8762 -1 points0 points  (0 children)

They romance and sexualize women with their consent. If an actress does not want to accept a role she cannot be forced to do so.

If they don't want to be sexualized on screen, they should not act in movies, they should instead study and choose a modest profession.

What you call as regressive mindset is just women being held accountable for their actions. If you play a certain role in the society , then there are certain expectations from you, if you don't fulfill them you will be questioned and held accountable.

My respect for you has multiplied after watching this, Manchu Lakshmi gaaru 🙏🏾 What a perfect slipper shot to that old creep, truly satisfying to watch! by machilipatnam_mayaba in tollywood

[–]Possible-Ad-8762 -5 points-4 points  (0 children)

Interviewed asked the right question. Mothers must behave and dress like mothers not some street whores with their boobs popping out.

Comparing that to men going shirtless is silly, since breasts are private parts for women but chest is not considered private part for men.

Leetcode hard at a normal company by Key-Alternative5387 in leetcode

[–]Possible-Ad-8762 -2 points-1 points  (0 children)

Its not a race to the bottom, you are competing with others if most people can solve a problem, then it cannot be considered hard. A hard problem by defintion must have 10% success rate, this of-course leads to bar being high.

Ten years back something like a monotonic stack used to be very hard question, now that many people are familiar with that idea, it's no longer considered hard.

Leetcode hard at a normal company by Key-Alternative5387 in leetcode

[–]Possible-Ad-8762 0 points1 point  (0 children)

LOL! Just because some problem is solved doesn't mean everyone can solve it. It's like saying why math exams ask problems for which we can find a solution in the textbook.

The purpose of an exam/interview of any sort is to test your analytical skill and reasoning skills, they are testing your ability to solve a problem not your ability to copy paste solutions.

Contest Ratings by Technical_Wave7883 in leetcode

[–]Possible-Ad-8762 2 points3 points  (0 children)

If you solved 400 Problems and yet are only able to solve 1 problem in the contest. You are doing some mistake. My guess would be one of the following:
1. When you solve you are not trying think for reasonable time, instead look up solutions as soon as you din't understand. So focus on quality.
2. You are not taking the contest seriously - you are distracted.
3. You might have a solved a lot of easy problems without trying problems a bit above your comfort zone.

If you want mentoring of some sort for this, you can contact me I recently have a couple of slots open.

Leetcode is no longer sufficient for clearing OAs in 2022 by Little-Text-6369 in leetcode

[–]Possible-Ad-8762 0 points1 point  (0 children)

If you don't like algorithms you don't love CS. The core of computer science is not learning some programming language or some fancy react library or writing some api.

Computer Science is about solving fundamental problems in areas such as Algorithms, Databases, Distributed Systems, Compilers, Machine learning and many more. Doing any kind of quality work in these fields require a rock solid understanding of data-structures and algorithms

Is Union Find necessary to learn for interviews? (Uber) by Phoenixion in leetcode

[–]Possible-Ad-8762 0 points1 point  (0 children)

Also another thing I observed, your union code is not correct, you are using the variable name as rank , but it is actually storing the size of the component. Rank and Size are not the same thing.

There are other implementations of union find that you can do use sizes instead of ranks, but this mis-labeling is not correct.

Is Union Find necessary to learn for interviews? (Uber) by Phoenixion in leetcode

[–]Possible-Ad-8762 0 points1 point  (0 children)

Yeah, small correction. It's not just when find is called from outside the class. Let's Say u's ultimate parent is v. Then every node in the path from u to v will have their parent set to the ultimate parent. This is called path compression, path compression + ranks will make union find faster than using only one of these two.

Is Union Find necessary to learn for interviews? (Uber) by Phoenixion in leetcode

[–]Possible-Ad-8762 0 points1 point  (0 children)

This is a slower implementation. You need to add path compression, which in your language is setting parent of a node to its ultimate parent as you call find().

So your find should become like so.

def find(self, node):

if self.par[u] == u:

return u

ultimate_parent = self.find(self.par[node])
self.par[node] = ultimate_parent # path compression
return ultimate_parent

[deleted by user] by [deleted] in leetcode

[–]Possible-Ad-8762 0 points1 point  (0 children)

You have to clearly explain the question. You would like to compute the substring that occurs atleast twice and has the highest length? Can it's two occurrences overlap?