/**
 * This function takes in a range start and a range end, and returns a list of all the negative values
 * greater than the range start and less than the range end.
 *
 * @param rangeStart The starting point of the range (inclusive).
 * @param rangeEnd The ending point of the range (exclusive).
 * @return A list of negative values greater than the range start and less than the range end.
 *
 * Example:
 * findNegativeValuesGreaterThan(-5, 10) returns [-4, -3, -2, -1]
 */
fun findNegativeValuesGreaterThan(rangeStart: Int, rangeEnd: Int): List<Int> {

    val negativeValuesGreaterThanRange = mutableListOf<Int>()

    for (i in rangeStart until rangeEnd) {
        if (i < 0) {
            negativeValuesGreaterThanRange.add(i)
        }
    }

    return negativeValuesGreaterThanRange
}
/**
 * This function takes in a range start and a range end, and returns a list of all the negative values
 * greater than the range start and less than the range end.
 *
 * @param rangeStart The starting point of the range (inclusive).
 * @param rangeEnd The ending point of the range (exclusive).
 * @return A list of negative values greater than the range start and less than the range end.
 *
 * Example:
 * findNegativeValuesGreaterThan(-5, 10) returns [-4, -3, -2, -1]
 */
fun findNegativeValuesGreaterThan(rangeStart: Int, rangeEnd: Int): List<Int> {
/**
 * This function takes in a range start and a range end, and returns a list of all the negative values
 * greater than the range start and less than the range end.
 *
 * @param rangeStart The starting point of the range (inclusive).
 * @param rangeEnd The ending point of the range (exclusive).
 * @return A list of negative values greater than the range start and less than the range end.
 *
 * Example:
 * findNegativeValuesGreaterThan(-5, 10) returns [-4, -3, -2, -1]
 */
fun findNegativeValuesGreaterThan(rangeStart: Int, rangeEnd: Int): List<Int> {

    val negativeValuesGreaterThanRange = mutableListOf<Int>()

    for (i in rangeStart until rangeEnd) {
        if (i < 0) {
            negativeValuesGreaterThanRange.add(i)
        }
    }

    return negativeValuesGreaterThanRange
}