AmphyHD

u/AmphyHD


r/CodingHelp•

For this lab I was forced to use a map for the BFS algorithm. I know I'm really close to the correct thing, but there is something wrong about my code, but I can't seem to figure it out. Thanks for anyone who takes the time to look through my code. :)

​

27 int Graph::BFS(char s, char t, map<char, int>&distance, map<char, char>& go_through) const

29 if(adjMap.find(s) != adjMap.end() | adjMap.find(t) != adjMap.end())

30 {

31 for(auto i = adjMap.begin(); i != adjMap.end(); i++)

32 {

33 distance[i->first] = NOPATH;

34 }

35 queue<char> q;

36 distance[s] = 0;

37 go_through[s

01


r/plantclinic•

When I water my plants I have them sit in a bowl of water so they can soak up as much as they need. Today… I forgot about my favorite plant. My cactus named Ralph. Ralph is very special to me, he was given to me by a special person. I forgot about him in the bowl for about 20-30 minutes. I don’t water him much, maybe once a month, but now his soil is soaked. Will he survive, or do I need to repot him? Please help. I can’t lose him. Thank yoy

39

r/learnprogramming•

Hey guys, I recently underwent a coding boot camp where I learned how to code in Java and acquired the OCA certification. I’m really looking to become a more hirable candidate in the field and was wondering what you guys think I should work on next? I’ve been studying up on design patterns lately, but ideally I want to be able to work on full stack programs. Things on my horizon: Servlets, JDBC, Spring framework

I don’t want to get ahead of myself, so I was wondering what you guys think

23




r/learnpython•

I’m trying to learn a bit of python while I’m at work. I typically sit in a computer all day but I can’t play sound because then people would know ( there really is nothing to do but I have to look busy). I used codademy until it asked me to pay, was wondering if there’s anything else out there like it where I can just read and practice the fundamentals right there without watching videos. Thank you !

23847


r/Exercise•

Hey Guys I've(M19) been struggling with calf pain/ soreness for quite some time now and was wondering what would be a good fix for this? I try to skateboard and weightlift as much as possible, however I've even tried taking a week long break and the calf soreness always returns. I always stretch before my sessions and drink some electrolytes, but always end up with the same sore- like pain. The only thing that works is taking pills, but that just doesn't sit well with me, doing that everyday. Any tips and suggestions would be greatly appreciated. Thanks so much!

38

r/NewSkaters•

Been skating lately and my calf’s have been killing me. It is super painful and I can’t land tricks when I have THST pain. I’ve tried some things but nothing works, it’s definitely some type of soreness, was wondering what you guys do to combat that soreness and skate as much as possible

45