About Dheeraj Thodupunuri
Recent supporters
Posts
This question was asked in Uber interview. Problem statement Given an array of integers, return a new array such that each element at index i of the new array is the product of all the numbers in the original array except the one at i. For example, if our input was [1, 2, 3, 4, 5] , the expected output would be [120, 60, 40, 30, 24] . If our input was [3, 2, 1] ...
Product of an Array except self
Aug 14, 2021
15 views
In this post , we will be discussing about Retry decorator and how to use it in python. Generally , we might have encountered many scenarios where we want to execute a piece of code until we get expected result or we may need to wait for the some operation should complete before proceeding further. Before directly going to the implementation , I will explain a simple use case where I had to use re...
Retry decorator in Python
Jun 30, 2021
12 views