2565 - DS_22_TSAY_Exam_Week3 Scoreboard

Time

2022/09/29 10:10:00 2022/09/29 11:30:00

Clarification

# Problem Asker Description Reply Replier Reply Time For all team

# Problem Pass Rate (passed user / total user)
13602 Array

13602 - Array   

Description

Given two sorted arrays nums1 and nums2 of size m and n respectively, return the maximum number of the two sorted arrays.

Input

Input the size of two sorted arrays m and n, then input two sorted arrays nums1 and nums2 of size m and n.

Output

Output the maximum number of the two sorted arrays.

Sample Input  Download

Sample Output  Download

Tags




Discuss