| Title | Searching Arrays (Case 2) |
| Catalog Type | SLCItem |
| Persistent ID | https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=JAVA&set=arrays.j_search_array&ch=JSearchArrayTotalCounts |
| Platform Name | PCEX |
| Features | — |
| Description | Construct a program that has a method that receives two arrays and prints the total number of times the elements in the 2nd array appear in the 1st array. For example, if the 1st array is {1, 2, 3, 3, 4, 4, 5, 6} and the 2nd array is {3, 4, 5, 6, 7}, then the total number of times that the elements in the 2nd array appear in the 1st array is 6.\nNote that we need to count matches for all values in the 2nd array (including duplicate values, if any). |
| Keywords | arrays |
| Author | Roya Hosseini |
| Institution | University of Pittsburgh |
| Iframe URL | https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=JAVA&set=arrays.j_search_array&ch=JSearchArrayTotalCounts |
| Protocol | PITT, HTML |
| Protocol URL | |
| License | MIT |
| Programming Language | Java |
| Natural Language | en |