Count minimal number of jumps from position X to Y
Interviewers often ask such questions for beginners level positions. This is a simple concept using while or for loop. Let say the frog is at …
Interviewers often ask such questions for beginners level positions. This is a simple concept using while or for loop. Let say the frog is at …
One of our active user of skilllx.com, send me this question (rotate an array), to solve efficiently in easy steps. The question is about array …
One of my student asked me, following question about longest sequence of zeros in binary representation of an integer. You all knows the binary representation …
To store multi-dimensional data, we use nested list (may be set, tuple or dictionary) and we need to sort that nested list. To sort nested …
Question: Write a function solution that, given an integer N, returns the maximum possible value obtainable by deleting one ‘5’ digit from the decimal representation …
Python Named Tuple is a type of container like Python dictionary. Named Tuple is available in module, “collections“. It contain keys which are hashed to …
Counter in Python is one of the most widely used collection in tasks especially data analysis. It keeps the count of the elements. Simply speaking, …
We like python dictionary due to easy access of elements, easy deletion and updation, but we dislike dict because it cannot save order. Today, we …
Sometimes it is very important to get system information on runtime in Python Code. For that we can use Platform library of Python. Platform library …
As a Python programmer, you must know what’s new in Python 3.9? Thera are many features which makes programmer’s life easy. Some of the features …