Title Given an array of integers, return the difference of the positions of the first and the last occurrence of the largest element.
Catalog Type SLCItem
Persistent ID https://codecheck.io/files/horstmann/codecheck-cpp-MaximumandMinimum-3
Platform Name CodeCheck
Features Code Completion
Description Given an array of integers, return the difference of the positions of the first and the last occurrence of the largest element.
Keywords Arrays - Simple Exercises, Maximum and Minimum
Author Cay Horstmann
Institution San José State University
Iframe URL https://codecheck.io/files/horstmann/codecheck-cpp-MaximumandMinimum-3
Protocol SPLICE, LTI 1.1
Protocol URL
License https://creativecommons.org/licenses/by-nc-nd/4.0/
Programming Language C++
Natural Language en

Preview

SPLICE Output