lite_metadata: gradio_version: 3.32.0 liteobj_version: 0.0.7 class_string: gradio.interface.Interface kwargs: title: Gradio Webapp description: Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays article: null thumbnail: null theme: gradio/seafoam css: null allow_flagging: never inputs: - class_string: gradio.components.Dataframe kwargs: label: nums1 type: array - class_string: gradio.components.Dataframe kwargs: label: nums2 type: array outputs: - class_string: gradio.components.Number kwargs: label: output fn: class_string: gradify.gradify_closure kwargs: argmaps: - label: nums1 postprocessing: 'lambda array: list(map(int, array[0]))' - label: nums2 postprocessing: 'lambda array: list(map(int, array[0]))' func_kwargs: {} source: "def findMedianSortedArrays(nums1, nums2):\n nums1.extend(nums2)\n\ \ nums1.sort()\n n = len(nums1)\n if n % 2 == 0:\n return\ \ (nums1[n // 2] + nums1[n // 2 - 1]) / 2\n else:\n return nums1[n\ \ // 2]\n"