Skip to content

Conversation

@kevinjycui
Copy link
Contributor

Implementing a breadth-first search (BFS) or 廣度優先搜索 example
Calculates the shortest distance between two nodes on a cyclic bidirectional graph.
I'm not very good at the syntax so the format may need some fixing. Otherwise, it works.

@antfu
Copy link
Member

antfu commented May 16, 2020

Comments with prefix 批曰。 would be better.
And for the failing test, could you help run npm run test:update and commit the snapshot?

Besides that, it looks good to me. Thanks for the new example!

@kevinjycui
Copy link
Contributor Author

I used the prefix 注曰。 instead since I felt that it fit better. Hope that's okay!

@LingDong-
Copy link
Member

Awesome, thanks a lot for the new example!

@LingDong- LingDong- merged commit 7172b0f into wenyan-lang:master May 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants