Daily iOS
CS fundamentals and algorithms

Array insert cost

A live feed calls posts.insert(newPost, at: 0) every time a new post arrives. What goes wrong once 50,000 posts have piled up?

Submit