Tutor profile: John S.
Subject: Python Programming
How do you find the minimum value in a list called alist?
Python makes such things very simple, min(alist). However, if you are going to an interview, this is most likely not what the interviewer is looking for. You may want to come up with this method yourself, either by sorting the list in order and then get the first (or the last if you are sorting in descending order). Alternatively, you can iterate through the list and compare every item to the item that you use as the initial minimum value. Things get more complicated if you are asked about the speed when more advanced computer science concepts need to be discussed.
How do you say "You are welcome" in Mandarin in response to "Thank you"?
不客氣 or 不用客氣。
Subject: Computer Science (General)
What is an array?
An array is a sequential collection of items, i.e., the items are stored one after another in the computer memory.
needs and John will reply soon.