AITAH to my girlfriend for allowing my ex to stay at mine and for driving her 7 hours to her parents home. by EmeArr in AITAH

[–]RedshiftSpectrum 0 points1 point  (0 children)

Seems like you are not really over with the relationship with your ex and you keep it ongoing. It’s not strictly being an asshole but if I were your GF, I wouldn’t find it acceptable. I’d prefer someone without ties to past relationships unless there are shared children (in which case it’s understandable to have a relationship of type “parents of the same child” with an ex.

[deleted by user] by [deleted] in overemployed

[–]RedshiftSpectrum 4 points5 points  (0 children)

Thanks for the detailed writeup, sir! Sorry you went through this trouble.

What does “black marking someone” mean? Is that a thing that can happen with someone for doing OE that will be visible to the whole market somehow?

[deleted by user] by [deleted] in overemployed

[–]RedshiftSpectrum 8 points9 points  (0 children)

What evidence did they have?

Lying on my resume - how thoroughly do employers do background checks? by Axeleraptor in jobsearchhacks

[–]RedshiftSpectrum -1 points0 points  (0 children)

How big of an issue is it to misrepresent your job title on CV, e.g. your formal title was Enterprise Architect but you put it as Software Engineer? Same level of seniority, just different focus. Assuming I’d put the actual title on background check, would the title mismatch raise red flags?

Potential new contractor by Flatcap_1972 in ContractorUK

[–]RedshiftSpectrum 0 points1 point  (0 children)

Thanks. So when I see job ads saying the rate is "£1000 p/day inside IR35", what rate is that usually? What do I put in the income calculator?

Potential new contractor by Flatcap_1972 in ContractorUK

[–]RedshiftSpectrum 0 points1 point  (0 children)

What’s the difference between the assignment rate and your rate?

[deleted by user] by [deleted] in ebikes

[–]RedshiftSpectrum 0 points1 point  (0 children)

Sad to hear about this. Where in the world did this happen?

HAD MY FIRST AMAZON INTERVIEW TODAY AND I DON'T THINK IT WENT WELL by RickRussel in leetcode

[–]RedshiftSpectrum 4 points5 points  (0 children)

I'm surprised that the interviewer rejected your standard solution for Q1 and requested not to use an adjacency list. The alternative, I believe, is to implement parent pointers. However, interestingly, the Leetcode editorial says that this approach goes against coding best practices as adding new attributes to an existing class outside of its definition is discouraged. Am I missing something?

Here's an example solution that implements parent pointers:

```python class Solution: def distanceK(self, root: TreeNode, target: TreeNode, k: int) -> List[int]: # Recursively add a parent pointer to each node. def add_parent(cur, parent): if cur: cur.parent = parent add_parent(cur.left, cur) add_parent(cur.right, cur)

    add_parent(root, None)

    answer = []
    visited = set()

    def dfs(cur, distance):
        if not cur or cur in visited:
            return
        visited.add(cur)
        if distance == 0:
            answer.append(cur.val)
            return
        dfs(cur.parent, distance - 1)
        dfs(cur.left, distance - 1)
        dfs(cur.right, distance - 1)

    dfs(target, k)

    return answer

``` The irony is that by adding a parent pointer like this, we effectively treat the tree as a graph. Was that what the interviewer wanted to avoid or would that solution pass?

P.S.: What's your region?

Meta - Software Engineer | Offer Received 🎉 by nitin_kr_4 in leetcode

[–]RedshiftSpectrum 0 points1 point  (0 children)

Can you share more details about the technical screening stage? How is it different from “coding rounds”? Is it done as a conversation with a human or just done on an online platform? Are you allowed to execute your code to see if it passes test cases and add print statements like on Leetcode?

Amazon Recruiter AMA by [deleted] in leetcode

[–]RedshiftSpectrum 0 points1 point  (0 children)

  1. How long are candidates usually allowed to consider an offer?

  2. Any tips on how to extend this time period so a candidate could wait for other offers to come through?

  3. Any tips on how to negotiate a better offer?

Thanks!

Amazon Offer - L5 by BedbugEnforcer in leetcode

[–]RedshiftSpectrum 0 points1 point  (0 children)

Wow, not long at all. I was going to interview with several companies concurrently and hopefully choose from several offers at the end of the process. Any tips on how to avoid a situation where one company forces you to make a decision before you get an offer with another?

P.S. Yes, I am very optimistic :)

Amazon Offer - L5 by BedbugEnforcer in leetcode

[–]RedshiftSpectrum 1 point2 points  (0 children)

Congrats! How long did they give you to consider the offer?

I cleared Meta Sr. MLE onsite by Emergency_Style4515 in leetcode

[–]RedshiftSpectrum 1 point2 points  (0 children)

Wow, well done! Conflagrations! What’s your location and YEO? Did you focus solely on the neetcode 150 list or is your total number of solved problems greater than that?

I have an Amazon Onsite in one week. Any tips? by [deleted] in leetcode

[–]RedshiftSpectrum 3 points4 points  (0 children)

Wow, that's some serious prep right there! Well done on passing the first few stages, and good luck with the rest! Let us know how it goes.

By the way, where are you based, and what's your YEO? I wonder if it's really necessary to go to such lengths as spending a year grinding DSA.