/**
 * Calculates the intersection between two lists.
 *
 * @param sourceList A list of integers representing the source list.
 * @param targetList A list of integers representing the target list.
 * @return A list of integers representing the intersection between the source and target list.
 */
fun findIntersection(sourceList: List<Int>, targetList: List<Int>): List<Int> {

    val intersection = sourceList.filter { it in targetList }
    return intersection
}
/**
 * Calculates the intersection between two lists.
 *
 * @param sourceList A list of integers representing the source list.
 * @param targetList A list of integers representing the target list.
 * @return A list of integers representing the intersection between the source and target list.
 */
fun findIntersection(sourceList: List<Int>, targetList: List<Int>): List<Int> {
/**
 * Calculates the intersection between two lists.
 *
 * @param sourceList A list of integers representing the source list.
 * @param targetList A list of integers representing the target list.
 * @return A list of integers representing the intersection between the source and target list.
 */
fun findIntersection(sourceList: List<Int>, targetList: List<Int>): List<Int> {

    val intersection = sourceList.filter { it in targetList }
    return intersection
}