The Apex class must be called ContactAndLeadSearch and be in the public scopeThe Apex class must have a public static method called searchContactsAndLeadsThe method must accept an incoming string as a parameterThe method should then find any contact or lead that matches the string as part of either the first or last nameThe method should finally use a return type of List<List< SObject>>NOTE: Because SOSL indexes data for searching, you must create a Contact record and Lead record before checking this challenge. Both records must have the last name Smith. The challenge uses these records for the SOSL search

I have alos created contacts in lead and contacts with last name Smith.But when checking the challenge I get the error "Executing the 'searchContactsAndLeads' method failed. Either the method does not exist, is not static, or does not return the expected search results."