From 8ce4a0d9e1d135026c6974409c168ea880353f27 Mon Sep 17 00:00:00 2001 From: abregman Date: Sat, 19 Oct 2019 22:16:45 +0300 Subject: [PATCH] Add a couple of Python questions Beginner + Advanced. --- README.md | 45 +++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 41 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4ce489f..2b1e67c 100644 --- a/README.md +++ b/README.md @@ -3,13 +3,13 @@ :information_source:  This repository contains interview questions on various DevOps related topics -:bar_chart:  There are currently **208** interview questions +:bar_chart:  There are currently **216** questions -:warning:  You don't need to know how to answer all the questions in this repo. DevOps is not about knowing all the tools and frameworks +:warning:  You don't need to know how to answer all the questions in this repo. DevOps is not about knowing all :) :exclamation:  Some questions are more for testing your own knowledge than actual valid interview questions -:exclamation:  For interviewers, I suggest focusing on three things: the resume of the candidate, scenario questions and technical concepts. Don't have an interview of only specific technical questions. +:exclamation:  For interviewers, I suggest focusing on 3 things: the resume of the candidate, scenario questions and technical concepts. Don't have an interview of only specific technical questions :pencil:  You can add more questions & answers by submitting pull requests :) @@ -32,7 +32,7 @@ kubernetes
Kubernetes

Beginner :baby:
- Python
Python

Beginner :baby:
+ Python
Python

Beginner :baby:
Advanced :star: Prometheus
Prometheus

Beginner :baby:
Git
Git

Beginner :baby:
Advanced :star: Go
Go

Beginner :baby:
@@ -1206,10 +1206,47 @@ set([food for bro in x for food in bro['food']]) ``` +
+What is List Comprehension? Is better than a typical loop? Why?
+
+ +
+How to reverse a string?
+ +Shortest way is: my_string[::-1] but it doesn't mean it's the most efficient one. +
+
Explain what is GIL
+ +#### :star: Advanced + +
+Explain what is a decorator
+
+ +
+Can you show how to write and use decorators?
+
+ +
+Are you familiar with Dataclasses? Can you explain what are they used for?
+
+ +
+Explain Context Manager
+
+ +
+Explain the Buffer Protocol
+
+ +
+Explain Descriptors
+
+ ## Prometheus