Cpp Creating Instance Of A Dynamic Array Leetcode Questions For Data