given an array of numbers, find all numbers that can be generated from it using +-/* anywhere between the numbers

前端 未结 0 479
谎友^
谎友^ 2021-02-09 01:27

Hi all i am trying to solve this problem

Given array [1,2,3]

Output should be [6, 0, 1, 9 , 2, -4, -0.33333, -3, 3.5, -2.5 , 0.1666666666, 1.5, -1, 0.66666666666]<

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