The P versus NP problem is a major unsolved problem in computer science. Informally, it asks whether every problem whose solution can be quickly verified by a computer can also be quickly solved by a computer. It was essentially first mentioned in a 1956 letter written by Kurt Gödel to John von Neumann. Gödel asked whether a certain NP-complete problem could be solved in quadratic or linear time. The precise statement of the P versus NP problem was introduced in 1971 by Stephen Cook in his seminal paper "The complexity of theorem proving procedures" and is considered by many to be the most important...
@RoyiNamir you probably want to add an event to either watch tb1 & tb2, or use the ng-change event to update tb3 when either tb1 or tb2 changes, I think
Not sure if this helps, but you could do this to select #5: jsfiddle.net/qfpyrcot/2 -- it checks to see if the current element is a number AND the next element is not a number. In the example, it puts a '>' right next to #5.