I was working on a scenario wherein i had to implement BODMAS in Java and the operands could have as many as 1000 digits. So i chose to implement it in the following manner - I converted the infix expression (expression on which BODMAS was to be implemented) to postfix And then i evaluated the postfix expression by parsing every BigInteger that it had. I was successful in this implementation.
Now i get to know that I can not use BigInteger and have to make do with the basic data types like int,string, etc. I have been thinking about how this could be done and to be frank, havent made any significant progress. Any help or suggestions on how BigInteger can be implemented using the basic data types would be of great help
p1nG