can you solve this question in data structure

you are required to optimize the complexity of removing an element from an array. The idea is that you can perform shifting one time after 10 deletions for example instead of performing shifting each time you delete an item.

أضف اجابة

أضف اجابة

‫تصفح