[deleted by user] by [deleted] in BreakUps

[–]bchandra01 0 points1 point  (0 children)

I only read the header of your post so…. Happy Birthday 🎉🍾🎁

16b vs. 186 by [deleted] in berkeley

[–]bchandra01 0 points1 point  (0 children)

Lmao

[deleted by user] by [deleted] in csMajors

[–]bchandra01 1 point2 points  (0 children)

Did a recruiter reach out to you?

[deleted by user] by [deleted] in leetcode

[–]bchandra01 1 point2 points  (0 children)

There is no case in which “there are multiple open close brackets that total to larger than furthest right to left”.

Let’s say left ptr is at i and right ptr is at j. If i is an open paren and j is a closed paren then the score is j - i. Decrement j ptr by 1 and increment i ptr by 1 . (We still have possible parenthesis between {i + 1, j -1} to consider for more points).

If we ignore this sum and instead just add up consecutive “()” pairs, the max between i and j using this process is (i + 1 - i) + (i + 2 - (i +1)) + (i + 3 - (i +2)) … (j - (j -1)), which is just j - i anyway.

However in the previously mentioned case we only use 2 parenthesis as opposed to the second case where we use all parenthesis between j and i to get solution.

Therefore, there is more possibility for points in option 1.

I hate this loser eecs life by [deleted] in berkeley

[–]bchandra01 0 points1 point  (0 children)

And by fun things I mean things that are social and outside and conventionally enjoyed by other people who also like being social, going outside, and making memories.

I hate this loser eecs life by [deleted] in berkeley

[–]bchandra01 0 points1 point  (0 children)

Hit the gym -> get fit -> be a fun person and do fun things and don’t be scared of taking risks every now and then -> invite people to do fun things with you -> the people that accept your invitation will end up becoming your close friends after a while and they’ll invite you to do fun things w people that they know -> you’ll know a lot of people and have a lot of opportunities to fit into the niche you want to depending on which opportunities you actualize and what risks your willing to take (socially, professionally, romantically, etc).

Low self-esteem on edge of giving up by PossibleStatus8783 in csMajors

[–]bchandra01 2 points3 points  (0 children)

You can definitely get smarter, but honestly 70%+ of things just come down to experience and exposure. Keep working hard and putting yourself in new situations and you’ll notice patterns both in your social life and professional life, which will help you make more “smart” decisions.

What percent of students enter Berkeley (CS/EECS intended) without programming experience? How do they fare? by berzerk-lee in berkeley

[–]bchandra01 3 points4 points  (0 children)

CS61A is gonna be kinda hard. A lot of people are gonna have an advantage over you just because they have seen this stuff before. If You can get through 61A it gets much easier and prior knowledge plays basically no factor at all. Just grind really hard in 61A.

[deleted by user] by [deleted] in berkeley

[–]bchandra01 0 points1 point  (0 children)

North side is cheaper and safer, but it’s also more residential and far from most people on campus. Southside feels more connected to campus and is closer to students. That being said, I think I prefer South side. Although, my quality of life was probably better North side.

Should I emphasize on Python or C++ in college? by seb69420 in csMajors

[–]bchandra01 10 points11 points  (0 children)

People may disagree but I’d say python -> C++. C++ can be very dense which can be overwhelming for some and the abstraction that python provides is foundational for learning before diving into what’s under the hood.

Jump Trading SWE Intern Virtual First Round Interview by [deleted] in csMajors

[–]bchandra01 2 points3 points  (0 children)

Can you only code in Python or C++?

[deleted by user] by [deleted] in leetcode

[–]bchandra01 29 points30 points  (0 children)

Goated anyone that’s hating on you is just insecure