public static void main(String[] args) {
        System.out.println(Arrays.toString(asteroidCollision(new int[] {
                -2, -1, 1, 2
        })));
        System.out.println(Arrays.toString(asteroidCollision(new int[] {
                5, 10, -5
        })));
        System.out.println(Arrays.toString(asteroidCollision(new int[] {
                8, -8
        })));
        System.out.println(Arrays.toString(asteroidCollision(new int[] {
                10, 2, -5
        })));
        System.out.println(Arrays.toString(asteroidCollision(new int[] {
                10, 2, -5, -14
        })));
    }
Why Did you create this class? what does it do?
src/problems/medium/AsteroidCollision.java