Program to Delete first and last element in an array if not matching in c++

前端 未结 0 1504
名媛妹妹
名媛妹妹 2020-12-07 00:53

Lets call alist beautiful if the first element is equal to its last element, or if the list is empty. Given a list a, my task is to chop off its first and last element until

相关标签:
回答
  • 消灭零回复
提交回复
热议问题