Programming-language-agnostic Questions that focus on the theoretical aspects rather than the actual implementations.
Ok, this is another one in the theory realm for the CS guys around. In the 90's I did fairly …
algorithm computer-science binary-tree theory avl-treepublic class A { public void f1(String str) { System.out.println("A.f1(String)"); this.f1(1, str); } public void f1(…
java oop theory overloadingI saw this question, and was curious as to what the pumping lemma was (Wikipedia didn't help much). I understand …
theory proof pumping-lemmaI use C# ? operator when I have if-statements that affects one row and it's all good. But lets say I …
c# theory conditional-operatorWhich is the fastest way to implement an operation that returns the absolute value of a number? x=root(x²) …
algorithm performance theory absolute-valueI'm coding something at the moment where I'm taking a bunch of values over time from a hardware compass. This …
algorithm theory moving-averageI have some partial actions that I render with the Asp.Net Futures RenderAction method. Some of these perform redirects …
asp.net-mvc asp.net-mvc-2 theoryIs there a simple way to determine whether a grammar is LL(1), LR(0), SLR(1)... just from looking on the grammar …
parsing compiler-construction theory grammar bnfWhat is a Turing machine and why do people keep mentioning it? My IBM PC is all I need to …
computer-science theory turing-machines computabilityAs far as I understand it fundamental types are Scalar and Arrays are aggregate but what about user defined types? …
c++ types theory