- Difficulty: Hard
- Given a tree graph, find the number of pairs of vertices whose distance is odd.
- https://app.codility.com/programmers/challenges/national_coding_week2022/
- https://app.codility.com/programmers/task/odd_network/
- Result
Good
: Correctness 100%, Performance 100%.OK
: Correctness 100%, Performance <100%.Fail
: Correctness <100%, Performance <100%.
- File naming convention
- Code
A
:NationalCodingWeek2022A.java
- etc
- Code
File | Complexity | Result | Report |
---|---|---|---|
A |
O(N) |
Good |
YGYVEN |