Java Solution - Brute Force
\nclass Solution {\n    public String abbreviateProduct(int left, int right) {\n        double a = 1L; // for first 5 digits\n        long b = 1L; // for last 5
```\nclass Solution {\n    public String abbreviateProduct(int left, int right) {\n        double a = 1L; // for first 5 digits\n        long b = 1L; // for last 5 digits\n        long c = 1L; // for small result\n        int zn = 0; // zero count\n        for(int i=left; i<=right; i++){\n            a*=i;\n            b*=i;\n            while(b%10==0){\n                b/=10;\n                zn++;\n            }\n            if(a>1000000000000L) a/=1000000;\n            if(b>1000000000000L) b%=1000000;\n            if(c<10000000000L) c*=i;\n            while(c%10==0) c/=10;\n        }\n        if(c<10000000000L) return c+"e"+zn;\n        String astr = String.valueOf(a).replace(".", "");\n        String bstr = String.valueOf(b);\n        while(bstr.length()<5) bstr="0"+bstr;\n        return astr.substring(0,5)+"..."+bstr.substring(bstr.length()-5)+"e"+zn;\n    }\n}\n```
[]