Skip to main content

Showing 1–2 of 2 results for author: Ruzankin, P S

Searching in archive cs. Search in all archives.
.
  1. A fast algorithm for constructing balanced binary search trees

    Authors: Pavel S. Ruzankin

    Abstract: We suggest a new non-recursive algorithm for constructing a binary search tree given an array of numbers. The algorithm has $O(N)$ time and $O(1)$ memory complexity if the given array of $N$ numbers is sorted. The resulting tree is of minimal height and can be transformed to a complete binary search tree (retaining minimal height) with $O(\log N)$ time and $O(1)$ memory. The algorithm allows sim… ▽ More

    Submitted 1 March, 2019; v1 submitted 7 February, 2019; originally announced February 2019.

    MSC Class: 68W01; 68W10 ACM Class: F.2.2

    Journal ref: SN Computer Science, 3, article #67 (2022)

  2. A fast algorithm for maximal propensity score matching

    Authors: Pavel S. Ruzankin

    Abstract: We present a new algorithm which detects the maximal possible number of matched disjoint pairs satisfying a given caliper when a bipartite matching is done with respect to a scalar index (e.g., propensity score), and constructs a corresponding matching. Variable width calipers are compatible with the technique, provided that the width of the caliper is a Lipschitz function of the index. If the obs… ▽ More

    Submitted 29 April, 2019; v1 submitted 9 January, 2017; originally announced January 2017.

    MSC Class: 92C50; 62P10; 05C70 ACM Class: G.3; G.4

    Journal ref: Methodol Comput Appl Probab 22, 477-495 (2020)