Title csedpad.22.Searching.searching(binarysearch)_1
Catalog Type SLCItem
Persistent ID https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/csedpad_22_Searching_searchingbinarysearch_1__664e257791363872f0ba3359?index=0
Platform Name PCEX
Features
Description This program uses the binary search algorithm to search the index, where "index will be the rank of prizes you get if the users lottery number is present in the array". If the index is "0", then the rank is "0 + 1 = 1", so being 1st ont the rank you get the highest prize.
Keywords
Author Mohammad Hassany
Institution University of Pittsburgh
Iframe URL https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/csedpad_22_Searching_searchingbinarysearch_1__664e257791363872f0ba3359?index=0
Protocol SPLICE
Protocol URL
License MIT
Programming Language JAVA
Natural Language en

Preview

SPLICE Output