Imagine that we have two string arrays (name it A and B) with 1000 cells. A contains 1000 words but the B is null.
Now I want to copy each element of A to B but there should not be any relation or sequence between the element’s index in A and B, atleast harldy recognizable.
At the end array A will be nulled so I have to use array B, but I want to get the actual index of an element (index that the element has in array A).
Can u suggest any approach to solve this problem? (using a key or an equation to generate indexes would be nice)