This document describes an algorithm for detecting outliers in a database. It differs from conventional outlier detection algorithms by having an improved running time. The pseudo code provided outlines the steps: it takes a dataset, calculates the k nearest neighbors of each point, and returns the top n outliers based on a score comparing points to their nearest neighbors, improving on a basic nested loop approach. The document then briefly mentions how outliers can be detected using an online tool from Data-Applied.com.