/**
 * Given two lists of numbers, find the intersection of the two lists and return it.
 *
 * Example:
 * Input: [1, 2, 3], [2, 3, 4]
 * Output: [2, 3]
 */
fun getIntersection(lst1: List<Int>, lst2: List<Int>): List<Int> {

    val intersection = mutableListOf<Int>()

    for (num in lst1) {
        if (num in lst2 && num !in intersection) {
            intersection.add(num)
        }
    }

    return intersection
}
/**
 * Given two lists of numbers, find the intersection of the two lists and return it.
 *
 * Example:
 * Input: [1, 2, 3], [2, 3, 4]
 * Output: [2, 3]
 */
fun getIntersection(lst1: List<Int>, lst2: List<Int>): List<Int> {
/**
 * Given two lists of numbers, find the intersection of the two lists and return it.
 *
 * Example:
 * Input: [1, 2, 3], [2, 3, 4]
 * Output: [2, 3]
 */
fun getIntersection(lst1: List<Int>, lst2: List<Int>): List<Int> {

    val intersection = mutableListOf<Int>()

    for (num in lst1) {
        if (num in lst2 && num !in intersection) {
            intersection.add(num)
        }
    }

    return intersection
}