共四道題，每到做完都要錄像講如何改進

找出kth element

Divide the list into sublists with k elements. The last sublist may contain fewer than k elements. Sort each sublist, get its median and append it to another list containing medians of sublists. If the medians list has a length more than k, compute its median recursively, proceeding with step 1. If the medians list has k elements or fewer, sort it and determine its median. Return it as a pivot. If an array is of odd length, the median is the middle element after the array has been sorted. If an array is of even length, there are two middle elements after it has been sorted. In this case, we will define the median as the left (first) of these two middle elements.

A classic stock trading pattern happens when a 9Day Moving Average (9DMA) crosses the 50Day Moving Average (50DMA). This can be indicative of a bullish or a bearish setup, depending on the direction. When the 9DMA crosses above the 50DMA from below, it is Bullish. When the 9DMA cross below the 50DMA from above, it is Bearish. Write a program that reads in a series of dates and prices, calculates the 9DMA and 50DMA, then returns the dates of any bullish signals that occurred.

Describe a time when you have worked as part of a successful team. What role did you play and what were the challenges you encountered?