Take home assignment, parse a log file and extract some information
Python Software Engineer Interview Questions
304 python software engineer interview questions shared by candidates
What are the key differences in behavior and architecture between threading.Thread and multiprocessing.Process in Python? What are the implications for memory sharing and communication?
Design a data structure that supports the following operations in O(1) time: get(index: int) -> int: Retrieve the value at the specified index. set(index: int, value: int): Update the value at the specified index. set_all(value: int): Set all elements in the data structure to the specified value. Requirements: The data structure should be initialized with a fixed size, and all elements should initially be set to 0. If set_all is called, subsequent get operations should return the globally set value unless the specific index has been updated after the set_all operation. d = DataStructure(1000) print(d.get(950)) # Output: 0 d.set(930, 5) print(d.get(930)) # Output: 5 d.set_all(8) print(d.get(950)) # Output: 8 print(d.get(930)) # Output: 8 d.set(910, 7) print(d.get(910)) # Output: 7 print(d.get(10)) # Output: 8
Differences between API to event
Questions based on joins, normalization and database design
Two puzzles to confuse me.
What is the TCP/IP protocol and how does it work?
Write a simple SQL query to match 2 fields from one table and 2 fields from a different table
3 classes, A, B and C, A inherited by B and C, I created instance of B and want to access variable of C which should be run time constant, or something like monkey patching,
Explain how you would implement a producer-consumer system in Python. Would you use threading or multiprocessing and why?
Viewing 1 - 10 interview questions