Here plus an article on WindowsForDevices
It appears from a recent conversation that I'm a bit rusty on algorithms and the Big-O notations. Here are a few articles I found useful is refreshing my memory: