Top Coding Interview Question – Solved

12 Live
Given a String and an Array Your solution will be scored against multiple hidden test cases, with a sample case provided for reference. The default code includes a mechanism for reading input strings. You will need to parse these strings into the appropriate variables as needed. The output data type does not matter, as long as the characters in the output match the expected result. Task: Given a long string S and an array of smaller strings T, write a program to check if each string in T exists within S. When checking, ignore differences in uppercase and lowercase letters. Example: If S is "Coffeeshop" and T is "hot coffee", then: S does not contain "hot". S does contain "coffee".

Asked in: No companies listed

Image of the Question

Question Image Question Image

All Testcases Passed βœ”



Passcode Image

Solution


Please login to view the solution


Related Questions

| The supply chain manager at one of Amazon's warehouses is shipping the last con… |
| Determine the highest value after executing n steps on an infinite 2D grid that… |
| Amazon Prime Video is developing a new feature called "Segmentify." This featur… |
| In this new stock prediction game launched on Amazon Games, Player 1 provides P… |
| Amazon operates numerous warehouses, with each warehouse holding inventory[i] u… |
| In Amazon's highly efficient logistics network, minimizing operational overhead… |