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
![[Calculus I] Was able to fine C, not sure how to find the rest, could use some guidance](https://i.redd.it/nz64f9h6exq71.jpg)

