<jupyter_start><jupyter_text>Interview Question - 3 (Section 3 - 20) How to find GCD (Greatest Common Divisor) of two numbers using recursion?<!--[Explanation]![5.png](attachment:5.png)```pythondef gcd(a, b):    assert int(a)==a and int(b)==b, 'The numbers must be integer only!'    if b == 0:        return a    else:        return gcd(b, a%b)```print--><jupyter_code>def gcd(a, b):
    if b == 0:
        return a
    else:
        return gcd(b, a%b)
print(gcd(10, 15))<jupyter_output>5<jupyter_text>Interview Question - 4 How to convert a number from Decimal to Binary using recursion<!--![7.png](attachment:7.png)```pythondef decimalToBinary(n):    assert int(n) == n, 'Integer Type Only!'    if n == 0:        return 0    else:        return n%2 + 10*(decimalToBinary(n//2))```--><jupyter_code>def decTObin(num):
    if num == 0:
        return 0
    else:
        return 10*(decTObin(num//2)) + num%2
print(decTObin(10))<jupyter_output>1010<jupyter_text>Review Question - 1 Make two dimensional array (4X4) and insert one column<!--```pythontwoDArray = np.array([[11,15,10,6],[10,14,11,5],[12,17,12,8],[15,18,14,9]]) Add new column to twoDArraynewTwoDArray = np.insert(twoDArray, 0, [[1,2,3,4]], axis=1)print(newTwoDArray)```--><jupyter_code>from array import *
twoDArr = array('i', [1,2,3,4])
print(twoDArr)

twoDArr.insert(0, 10)

print(twoDArr)
import numpy as np
twoDArr = np.array([[1,2,3],[2,3,4],[3,4,5],[4,5,6]])
print(twoDArr)
new_Arr = np.insert(twoDArr, 0, [0,0,0], axis=0)
print(new_Arr)<jupyter_output>array('i', [1, 2, 3, 4])
array('i', [10, 1, 2, 3, 4])
[[1 2 3]
 [2 3 4]
 [3 4 5]
 [4 5 6]]
[[0 0 0]
 [1 2 3]
 [2 3 4]
 [3 4 5]
 [4 5 6]]<jupyter_text>Interview Question - 1 (Section 4 - 3) Write a function called `productOfArray` which takes in an array of numbers and returns the product of them all```pythonproductOfArray([1,2,3])  6productOfArray([1,2,3,10])  60```<jupyter_code>def productOfArray(arr):
    if len(arr) == 0:
        return 0
    else:
        return arr[0] + productOfArray(arr[1:])
print(productOfArray([1,2,3]))<jupyter_output>6<jupyter_text>Chicago Question Use `map` function and `lambda` function  Write a Python program to convert a given list of tuples to a list of strings using map function.<jupyter_code>given_tuple = (1,2,3,4,5)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.17265253137170056, 'fraction_numerical': 0.06880138468195586, 'mean_word_length': 4.504761904761905, 'pattern_counts': {'":': 0, '<': 20, '<?xml version=': 0, '>': 20, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '5', 'dir': 'jupyter-structured-clean-dedup', 'id': '135528', 'license': 'CECILL-B', 'n_tokens_mistral': 996, 'n_tokens_neox': 900, 'n_words': 236, 'path': '.ipynb_checkpoints/Review_Question-checkpoint.ipynb', 'repo_name': 'ChicagoPark/DSA', 'size': '2311'}