Maximum value of non adjacent elements in a circular list

后端 未结 0 1393
清歌不尽
清歌不尽 2020-12-31 03:08

Given that :

  • You have a circular linked L with nodes N1,N2,...N10,N1
  • Each node is characterized by a tuple (L,P) where L is the value for not p
相关标签:
回答
  • 消灭零回复
提交回复
热议问题