/**
 * Given a list of musical notes (as strings) and a starting and ending position,
 * return a list of notes that fall within that range.
 *
 * @param notes A list of musical notes (as strings)
 * @param start The starting position of the range
 * @param end The ending position of the range
 * @return A list of notes that fall within the given range
 */
fun findNotesWithinRange(notes: List<String>, start: String, end: String): List<String> {

    val filteredNotes = mutableListOf<String>()

    for (note in notes) {
        if (note >= start && note <= end) {
            filteredNotes.add(note)
        }
    }

    return filteredNotes
}
/**
 * Given a list of musical notes (as strings) and a starting and ending position,
 * return a list of notes that fall within that range.
 *
 * @param notes A list of musical notes (as strings)
 * @param start The starting position of the range
 * @param end The ending position of the range
 * @return A list of notes that fall within the given range
 */
fun findNotesWithinRange(notes: List<String>, start: String, end: String): List<String> {
/**
 * Given a list of musical notes (as strings) and a starting and ending position,
 * return a list of notes that fall within that range.
 *
 * @param notes A list of musical notes (as strings)
 * @param start The starting position of the range
 * @param end The ending position of the range
 * @return A list of notes that fall within the given range
 */
fun findNotesWithinRange(notes: List<String>, start: String, end: String): List<String> {

    val filteredNotes = mutableListOf<String>()

    for (note in notes) {
        if (note >= start && note <= end) {
            filteredNotes.add(note)
        }
    }

    return filteredNotes
}