Sunday 30 June 2013

Interview Series – Arithmetic Expression Compiler


Number crunching software dates back to the dawn of computing. It has been fine-tuned and updated with innumerable features till date.

Here in this setup of an Interview, we’ll use Djikstra’s Two-Stack Algorithm at its core to build a simple Arithmetic Expression Compiler that can Multiply, Divide, and Add non-negative N-Digit Rational numbers together following Operator precedence of the BODMAS rule.


Sunday 23 June 2013

LINQ Deferred Execution - Lazy Evaluation


Queries are executed in many ways. The types can be broadly classified into Deferred/Lazy Execution and Immediate Execution.

In this post, we’ll see how the type of execution can boost performance in LINQ.