Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ===============================================================================
- All tests passed (8 assertions in 2 test cases)
- Building graph ...done
- Total num of nodes: 8
- Total num of edges: 26
- To exit, type exit
- name, depth?
- -> Mary 0
- Invalid depth!
- name, depth?
- -> Mary 1
- Mary(0)
- Maria(2)
- Marla(2)
- Marley(2)
- Mariah(3)
- Marian(3)
- Marisa(3)
- Maryanne(4)
- name, depth?
- -> Mary 2
- Mary(0)
- Maria(2)
- Mariah(1)
- Marla(1)
- Marian(1)
- Marisa(1)
- Marley(2)
- Maryanne(4)
- name, depth?
- -> Mary 3
- Mary(0)
- Maria(2)
- Mariah(1)
- Marla(1)
- Marian(1)
- Maryanne(3)
- Marisa(1)
- Marley(2)
- name, depth?
- -> Mary 4
- Mary(0)
- Maria(2)
- Mariah(1)
- Marla(1)
- Marian(1)
- Maryanne(3)
- Marisa(1)
- Marley(2)
- name, depth?
- ->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement