Jump to content

fenil

New Members
  • Posts

    4
  • Joined

  • Last visited

fenil's Achievements

Newbie

Newbie (1/5)

0

Reputation

1

Community Answers

  1. Given N = 4, A = [1, 3], B = [2, 4] function should return 10. The graph contains two edges: (1, 2) and (3, 4). We can assign following values to the vertices: 4, 3, 2, 1. The sum of values at the edges' endpoints is (4 + 3) + (2 + 1) = 10. how to find edges of vertices and sum of values at the edges' endpoints ? function ec($n, array $a, array $b){ }
  2. Given N = 4, A = [1, 3], B = [2, 4] function should return 10. The graph contains two edges: (1, 2) and (3, 4). We can assign following values to the vertices: 4, 3, 2, 1. The sum of values at the edges' endpoints is (4 + 3) + (2 + 1) = 10. how to find edges of vertices and sum of values at the edges' endpoints ? function ec($n, array $a, array $b){ }
  3. Given N = 4, A = [1, 3], B = [2, 4] function should return 10. The graph contains two edges: (1, 2) and (3, 4). function ec($n, array $a, array $b){ }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.