Given a list of unsorted numbers and an integer (n), return the n biggest and n smallest elements from that list of numbers.
Python Developer Interview Questions
5,404 python developer interview questions shared by candidates
with a part the gets two numbers and sorts them max min -create a part the gets 4 numbers and sorts them and python questions about lists- sorting, randomizing ect
Questions related to Python fundamentals
Database for the ola or uber.
Find extract characters in a string that can be removed to make it as a palindrome.
Questions
They ask me about pep8 rules, personal questions and about my last work.
Implement local in-memory cache util that uses LRU as an eviction algorithm and works in a multithreaded environment. LRU means evicting the item that hasn’t been accessed the longest in case the cache is full. Each item should also hold a TTL and return Null when trying to fetch an item that its TTL passed. In addition, the cache should be limited in size. The perfomance (get, set) should be in optimal time.
How does Python’s Global Interpreter Lock (GIL) affect multithreading, and in what scenarios is multithreading still beneficial despite the GIL?
Trial task with scrapy framework.
Viewing 661 - 670 interview questions