How can I initialize an array without knowing it size?

前端 未结 4 1081
青春惊慌失措
青春惊慌失措 2021-02-07 01:55

I have a situation, where I have to apply a criteria on an input array and reuturn another array as output which will have smaller size based upon the filtering criteria.

4条回答
提交回复
热议问题