Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

2
Breadth-first search to search with several targets
Post Flair (click to view more posts with a particular flair)
Post Body

So i have a school project where i am making a board. Board is a graph like stucture. I do not know what is the number of the nodes i want to get back or how many are they (number could range to 2-8) I only know how far are they from my current node.

I am fairly certain that it can be solved with a Breadth-first search although not sure how

This is my code, i do know that is not good (i think the main problem is that this counter solution doesn't mean it will go into the right "if" at the right time), have no idea why: https://pastebin.com/V5qZvSWu

This is the node class https://pastebin.com/83zf4dE9

Author
Account Strength
90%
Account Age
6 years
Verified Email
Yes
Verified Flair
No
Total Karma
4,412
Link Karma
1,508
Comment Karma
2,422
Profile updated: 4 days ago
Posts updated: 2 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
2 years ago