public void ThereShouldReturn_40113()
        {
            var p = new Prob1365();

            var result = p.SmallerNumbersThanCurrent(new[] { 8, 1, 2, 2, 3 });

            CollectionAssert.AreEquivalent(new[] { 4, 0, 1, 1, 3 }, result);
        }
        public void ThereShouldReturn_0000()
        {
            //Input: nums = [7, 7, 7, 7]
            //Output: [0, 0, 0, 0]
            var p      = new Prob1365();
            var result = p.SmallerNumbersThanCurrent(new[] { 7, 7, 7, 7 });

            CollectionAssert.AreEquivalent(new[] { 0, 0, 0, 0 }, result);
        }
        public void ThereShouldReturn_2103()
        {
            //Input: nums = [6, 5, 4, 8]
            //Output: [2, 1, 0, 3]
            var p      = new Prob1365();
            var result = p.SmallerNumbersThanCurrent(new[] { 6, 5, 4, 8 });

            CollectionAssert.AreEquivalent(new[] { 2, 1, 0, 3 }, result);
        }