|
| 1 | +What is PEP 8 and why is it important? |
| 2 | + |
| 3 | +What is Scope in Python? |
| 4 | + |
| 5 | +What are lists and tuples? What is the key difference between the two? |
| 6 | + |
| 7 | +What are modules and packages in Python? |
| 8 | + |
| 9 | +What is self in Python? |
| 10 | + |
| 11 | +What are decorators in Python? |
| 12 | + |
| 13 | +What is lambda in Python? Why is it used? |
| 14 | + |
| 15 | +What are generators in Python? |
| 16 | + |
| 17 | +Can you create a series from the dictionary object in pandas? |
| 18 | + |
| 19 | + How will you delete indices, rows, and columns from a data frame? |
| 20 | + |
| 21 | + Can you get items of series A that are not available in another series B? |
| 22 | + |
| 23 | +How are NumPy arrays advantageous over python lists? |
| 24 | + |
| 25 | +Write python function which takes a variable number of arguments. |
| 26 | + |
| 27 | +WAP (Write a program) which takes a sequence of numbers and checks if all numbers are unique. |
| 28 | + |
| 29 | +**************************************************************************** |
| 30 | + |
| 31 | +How do we use Eigenvalues and eigenvectors in PCA (Principal Components Analysis) ? |
| 32 | + |
| 33 | +Difference between exogenous and auto regression in time series forecasting. |
| 34 | + |
| 35 | +Difference between normalization and standardization, will it be used before train test split or after? |
| 36 | + |
| 37 | +How to reduce the impact of one feature than others |
| 38 | + |
| 39 | +Difference between XGBoost and FBProphet. |
| 40 | + |
| 41 | +Describe the scenario where you do not make stationery data in time series forecasting problem |
| 42 | + |
| 43 | +BERT is trained on which dataset? What model will be used if BERT does not exist? Describe self- attention mechanism. |
| 44 | + |
| 45 | +Difference between univariate and multivariate time series forecasting problems. |
| 46 | +**************************************************************************** |
| 47 | + |
| 48 | +Find the middle node of a given LinkedList. |
| 49 | +`Used two pointer approach` |
| 50 | +`Slow Pointer = node.next`, and |
| 51 | +`Fast pointer = node.next.next;` |
| 52 | +at each iteration check if any of the pointer equals to `null` |
| 53 | +When fast pointer is null slow pointer will be at the middle node just print node.data to get the result. |
| 54 | + |
| 55 | + |
| 56 | +Print all the permutations of give string. |
| 57 | +There are two approaches for this either |
| 58 | +we can use `permute` library or |
| 59 | +we can code using loops in `O(n^2)`. |
| 60 | + |
| 61 | + |
| 62 | +Third last node of LinkedList, |
| 63 | +above mentioned two pointer approach will be used here as well. |
| 64 | + |
| 65 | +Difference between `call by value` and `call by reference`. |
| 66 | +In call by value, we pass the copy of variable in the function whereas |
| 67 | +in call by reference we pass the actual variable into the function. |
| 68 | +How we do that? We pass the memory address of that variable to the function. |
| 69 | +These concepts are used with pointers in C/C++. |
| 70 | + |
| 71 | +Difference between `==` and `===` in JavaScript. |
| 72 | +Both are used for comparison |
| 73 | +double equal to is a content comparator whereas |
| 74 | +triple equals compares both content and data types of LHS & RHS. |
| 75 | + |
| 76 | +Difference between Breadth-first search & Depth first search. |
| 77 | + |
| 78 | + |
| 79 | +**************************************************************************** |
0 commit comments