need help

Revision en1, by Master_coder, 2019-04-26 08:26:48

Given N keys and values , and q queries for each query you have given key you have to find key smaller than given key with maximun value . for example:- keys — 2 3 1 6 4 values — 5 1 6 2 8 given key 5 must produce output 8 i.e (4,8)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Master_coder 2019-04-26 08:26:48 284 Initial revision (published)