DRAG DROP -
You have a method named GetCustomerIDs that returns a list of integers. Each entry in the list represents a customer ID that is retrieved from a list named
Customers. The Customers list contains 1,000 rows.
Another developer creates a method named ValidateCustomer that accepts an integer parameter and returns a Boolean value. ValidateCustomer returns true if the integer provided references a valid customer. ValidateCustomer can take up to one second to run.
You need to create a method that returns a list of valid customer IDs. The code must execute in the shortest amount of time.
What should you do? (Develop the solution by selecting and ordering the required code snippets. You may not need all of the code snippets.)
Select and Place:
Xavios
Highly Voted 5 years, 7 months agoFutureMfana
4 years, 10 months agoGarylim
4 years, 4 months agothiemamd
4 years, 4 months agoauderis
Most Recent 3 years, 10 months agoDaGrooveNL
3 years, 10 months agoM62
3 years, 10 months agoHgstExam
4 years, 3 months agoHgstExam
4 years, 3 months agolomanov
4 years, 3 months agoHgstExam
4 years, 3 months agodutchHunter
4 years, 2 months agonoussa
3 years, 11 months agojustpassingexam
4 years, 4 months agothiemamd
4 years, 4 months agothiemamd
4 years, 4 months agoTonyBezerra
4 years, 10 months agotanujgyan
4 years, 8 months ago