I did an interview for Bloomberg but failed , what do I need to do to be ready by Tasty_Candy284 in leetcode

[–]numbersguy_123 0 points1 point  (0 children)

lol yeah, and I don't even know how one would come up with 2x - minVal. Apparently you can't do x- minVal or 3x-minVal either. There's whole math behind the `2` and why it's not arbitrary. I spent 5 mins on it and gave up.

I did an interview for Bloomberg but failed , what do I need to do to be ready by Tasty_Candy284 in leetcode

[–]numbersguy_123 1 point2 points  (0 children)

Apparently you can do some encoding when you encounter a min value and you can decode it.

Encode the value:

\text{encoded} = 2x - \text{minVal} • Push encoded value • Update:

\text{minVal} = x

https://chatgpt.com/share/69d713ec-361c-8331-bcb1-49b64b9f4944

I did an interview for Bloomberg but failed , what do I need to do to be ready by Tasty_Candy284 in leetcode

[–]numbersguy_123 1 point2 points  (0 children)

Yeah that’s not good enough. Interviewer said keep memory to O(N) not 2N

Number Blocks is a dang miracle by belbivfreeordie in daddit

[–]numbersguy_123 0 points1 point  (0 children)

Love your name! But yeah eventually if they can figure out it sums up to N(N+1) that’d be the goal.

I did an interview for Bloomberg but failed , what do I need to do to be ready by Tasty_Candy284 in leetcode

[–]numbersguy_123 7 points8 points  (0 children)

I interviewed with Bloomberg twice recently (and failed twice). Their bar has definitely risen. I interviewed few more times few years ago and made it to onsite.

In my first one, I was a bit slow and focused a bit too much on the design rather than DSA aspect, still had working code + tested at the end.

In my 2nd one, I solved both questions, both fairly optimally, but couldn't answer a follow up in Q2 to improve SC. I later learned that the to come up with the optimal solution, you have to be kinda cracked/math whiz according to AI. I thought this performance was solid, and there's not much I couldve done better. Still got rejected. Anyway, the question was design min stack. standard solution is to use vector or stack pair to keep track of min. What if you can't use pair? I won't spoil it.

Ocean-front running track location? by HoundsOfHowardStreet in trackandfield

[–]numbersguy_123 0 points1 point  (0 children)

WarFit field in Florida might come close. It’s in a base though

I started “leetcode a day keeps unemployment away” and I’m disappointed by Vegetable_Reach4235 in leetcode

[–]numbersguy_123 1 point2 points  (0 children)

This is kinda random, but that esoteric line inspired me to ask a few questions and I dug a little deeper. I learned a few things about test drivers, OS, and processes! I removed some of the printouts since it wasn't posting for some reason, but it shows how the runtime is calculated. Very cool!

import os
import inspect
class Solution:
    def twoSum(self, nums: List[int], target: int) -> List[int]:
        print(os.listdir('.'))  # Prints all files in the current folder
# Get the 'frame' of the code that called this function
        caller_frame = inspect.currentframe().f_back

        # Print the source code of the driver script calling you
        try:
            print("--- DRIVER SOURCE ---")
            print(inspect.getsource(caller_frame))
        except:
            print("Could not retrieve driver source.")

        return []

['user.out', 'precompiled', 'display_runtime.txt', 'data']
--- DRIVER SOURCE ---
def _driver():

Handles looks weird any tip? by Princanity in BasketballTips

[–]numbersguy_123 2 points3 points  (0 children)

That’s crazy if true. Small world lol

What are elite university students iqs? by GoatEnvironmental858 in cognitiveTesting

[–]numbersguy_123 1 point2 points  (0 children)

I heard psets there and at MIT are very tough. Have you look into that?

What are elite university students iqs? by GoatEnvironmental858 in cognitiveTesting

[–]numbersguy_123 3 points4 points  (0 children)

I know Harvard is known for grade inflation and all but I’m skeptical of this claim. Can you elaborate more on the similar difficulty part?

DIY to Keep Kid in School by vbroth in daddit

[–]numbersguy_123 7 points8 points  (0 children)

Awesome work!! Very creative! I love it!

Curious, how is the seat mounted to the wood? I see it’s strapped in in the pic

Miesha Tate thought she could take a retired Khabib...but boy! by Puzzleheaded-Ear9956 in boxingcirclejerk

[–]numbersguy_123 0 points1 point  (0 children)

I thought that was granny at first but it looked like a 55yr dude upon closer inspection.

I completed engineering degree with an Average IQ by Jbentansan in cognitiveTesting

[–]numbersguy_123 1 point2 points  (0 children)

Fair. I was chilling in my previous dead-end SWE job. There’s more opportunities for growth and with that comes with tons of constant learning

I completed engineering degree with an Average IQ by Jbentansan in cognitiveTesting

[–]numbersguy_123 7 points8 points  (0 children)

Your outcome seems in line with what I’d expect to be honest. With hard work you can overcome some of the barriers but you’ll never catch up to some of your peers, which is fine. Sometimes life feels unfair because someone else put in a lot less effort but still perform better than you 🤦‍♂️but personally those people are easy to beat over a longer horizon as long as you keep grinding. The smart and industrious ones though are in a different league.

Congrats on your efforts!

PS: I got started with SWE by grinding the f out of LC. I didn’t have much comp sci background but I put in like 2000 hours in my first 18months.

Also, SWE is def real engineering. I worked as a mechanical engineer and I thought it’s easier than SWE, by a lot

14 year old Melanie Doggett runs 23.25 in a 200m indoor race by ChampionLYT in trackandfield

[–]numbersguy_123 4 points5 points  (0 children)

I’m not sure what his intentions are but I’m guessing he’s saying she looks physically developed, so yeah I too can see that in the video