# doas's recent activity

1. ## Comment on What data structure should be used for constructing of a single-elimination tournament? in ~comp

It's technically part of some larger coursework, which is why I'm not trying to look for actual code solutions but an explanation of what I'm misunderstanding. Some complexity is an actual...

Since this is for school I'd imagine that's how they were asked to do it.

It's technically part of some larger coursework, which is why I'm not trying to look for actual code solutions but an explanation of what I'm misunderstanding. Some complexity is an actual requirement, although this isn't the source of that, and I'm open to doing it in the way they described although it would mean reworking some other parts of my code (although using a binary tree will, as well).

2. ## Comment on What data structure should be used for constructing of a single-elimination tournament? in ~comp

It's probable I'm misunderstanding it, but I can't grasp the logic of the "InsertTeamAlgo", specifically the "The data held is an unknown team" condition. Perhaps writing out my thought process...

The link says you should just randomly choose a left or right node to put it into until you reach a leaf, so you could just do that.

It's probable I'm misunderstanding it, but I can't grasp the logic of the "InsertTeamAlgo", specifically the "The data held is an unknown team" condition. Perhaps writing out my thought process will make my problem clearer.

After one initial insert of contestant 1 as the root parent (case 0), we then insert contestant 2 -- moving contestant 1 to the left node, putting contestant 2 as the right node, then marking the parent node as an "unknown" contestant (case 2).

When we come to insert contestant 3, we reach case 1: the value of the root node is the "unknown" contestant, so we "Just randomly pick one side (left or right) and recursively add the new known team to that side." What exactly does it mean? Pick left, overwrite contestant 1, then (recursively) continue to assign contestant 3 to new nodes?

3. ## Comment on What's your coming out story? in ~lgbt

Came out as bisexual to my friends about a year or so ago, I think. I was never the type to hide what I was feeling from my friends, even if I'm not always sure what that feeling is. It was made...

Came out as bisexual to my friends about a year or so ago, I think. I was never the type to hide what I was feeling from my friends, even if I'm not always sure what that feeling is. It was made easier by the fact that another of my close friends at the time came out a short while before me, and (I didn't think it would be, but teenagers) the reaction wasn't negative but supportive. Although they still manage to 'forget' every once in a while. Probably because I've never been out with a guy haha..

4. ## Comment on What have you been watching/reading this week? (Anime/Manga) in ~anime

Well, googling that was no fun. Give a little warning, please!

On the manga side I finally read 177013 which was... something.

Well, googling that was no fun. Give a little warning, please!

1 vote
5. ## Comment on Gym Class Is So Bad, Kids Are Skipping School to Avoid It in ~talk

That's shocking to hear. I think my school would draw a definite line at that, the PE teachers aren't malicious. Mind you my school doesn't have any accessibility for physically disabled students...

I had a couple of nerd-tribe friends with much more severe physical disabilities (cerebral palsy, scoliosis requiring a heavy back brace) than I had. They weren't excused from P.E. classes

That's shocking to hear. I think my school would draw a definite line at that, the PE teachers aren't malicious. Mind you my school doesn't have any accessibility for physically disabled students (e.g ramps), and no physically disabled students attend here, so it's impossible to say.

1 vote