convert pair of elements into tuples from odd items of a list in O(n)

前端 未结 0 1874
栀梦
栀梦 2020-12-30 14:46

I tried but not able to think a possible solution, Please help

I have a list of numbers and I need to convert it into list of tuples with only odd el

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