Memory defragmentation

  • 11
  • Locked
Let's explore how an array of strings is like computer memory. If we remove some elements, then we get "holes" in the array, that is, some elements are equal to null. The executeDefragmentation(String []) method, which takes an array of strings and performs "defragmentation", that is, eliminates the
You can't complete this task, because you're not signed in.
Comments (1)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
michal9696
Level 18 , Poland, Poland
16 August 2022, 23:25
Hi, I have a problem with this exercise. Could you give me some hint how to solve this?