/**
 * Given a list of campaign names and a keyword, return a list of campaign names
 * that contain the keyword.
 *
 * Example:
 * campaigns = ['Summer Sale', 'Back to School', 'Winter Wonderland', 'Holiday Savings']
 * keyword = 'Sale'
 * filterCampaigns(campaigns, keyword) => ['Summer Sale']
 *
 * @param campaigns List of campaign names
 * @param keyword Keyword to search for
 * @return List of campaign names that contain the keyword
 */
fun filterCampaigns(campaigns: List<String>, keyword: String): List<String> {

    return campaigns.filter { it.contains(keyword) }
}
/**
 * Given a list of campaign names and a keyword, return a list of campaign names
 * that contain the keyword.
 *
 * Example:
 * campaigns = ['Summer Sale', 'Back to School', 'Winter Wonderland', 'Holiday Savings']
 * keyword = 'Sale'
 * filterCampaigns(campaigns, keyword) => ['Summer Sale']
 *
 * @param campaigns List of campaign names
 * @param keyword Keyword to search for
 * @return List of campaign names that contain the keyword
 */
fun filterCampaigns(campaigns: List<String>, keyword: String): List<String> {
/**
 * Given a list of campaign names and a keyword, return a list of campaign names
 * that contain the keyword.
 *
 * Example:
 * campaigns = ['Summer Sale', 'Back to School', 'Winter Wonderland', 'Holiday Savings']
 * keyword = 'Sale'
 * filterCampaigns(campaigns, keyword) => ['Summer Sale']
 *
 * @param campaigns List of campaign names
 * @param keyword Keyword to search for
 * @return List of campaign names that contain the keyword
 */
fun filterCampaigns(campaigns: List<String>, keyword: String): List<String> {

    return campaigns.filter { it.contains(keyword) }
}