Sobes.tech

def function(test_list: tuple = ()): test_list.append(1) print(test_list) test_list = () function() # function(test_list) # function() # print(test_list) # ################## obj_t = (1, [1.0], "1") obj_t[0] = 2 # obj_t[1].append(2) # print(obj_t) #

139

Have you worked with an ML model: did you build the backend infrastructure and the surrounding framework without touching the model itself?

132

def is_palindrome(string_to_check: str) -> bool: left, right = 0, len(string_to_check) while left < right: while left < right and not string_to_check[left]. left += 1 while left < right and not string_to_check[right] right -= 1

131

How does a Python dictionary handle hash collisions and why are `True`, `1`, and `1.0` not stored as three different keys?

123

Why does the mutable default argument value in Python persist between function calls?

119

Tell me about your work experience, especially your last job and, if desired, about the previous one.

115

def function(test_list: list = []): test_list.append(1) print(test_list) test_list = [] function() function(test_list) function() print(test_list)

111

Have you worked with Kafka yourself or did DevOps provide the infrastructure and configurations?

106

Lesha found a bedbug on the shelf. -> True Fly! Oh, fly! Great as a lion! Oh, mind! Oh, mind! -> True "........,,,! " -> False def is_palindrome(string_to_check: str) -> bool:

106

How was the large Kafka event log cleared: was a retention policy set?

102

How did the backend interact with the ML model: where was it hosted and what protocol did you use to communicate with it?

102

Could duplicates of events appear in Kafka and how did you solve this problem?

102

obj = {True: 1, 1: 2, 1.0: 3, "1": 4} print(obj) # {True: 3, "1": 4}

101

Have you worked with AI agents or neural networks for coding?

100

Why is the value for the key `True` equal to `3` in the dictionary `{True: 1, 1: 2, 1.0: 3, "1": 4}`, and not `1`?

98

How did the system work before transitioning to event-driven/Kafka: was it REST API on FastAPI?

93