vinaykhatri
Vinay Khatri

I am a Full Stack Developer with a Bachelor's Degree in Computer Science, who also loves to write technical articles that can help fellow developers.

How To Install TensorFlow?

How To Install TensorFlow?

TensorFlow is a machine learning framework suitable for carrying out various tasks, such as image r…

NodeJS vs Python: Choose the Best Backend Language

NodeJS vs Python: Choose the Best Backend Language

Generally, programmers make a pick of backend technology for building web applications depending on…

Smallest Subtree with All Deepest Nodes

Smallest Subtree with All Deepest Nodes

Problem Given a binary tree, return the smallest subtree that has all the deepest nodes of the o…

Difference Between ArrayList and LinkedList

Difference Between ArrayList and LinkedList

The list is an abstract data type available in functional programming languages that stores ordered…

How to Generate Random Strings and Passwords in Python?

How to Generate Random Strings and Passwords in Python?

To generate random data in Python, we generally use Python's random module.  And in this t…

Nested Loops in Python

Nested Loops in Python

In Python, if we define a loop inside the loop, that loop will be called the nested loop. In this P…

Python TypeError: 'dict' object is not callable solution

Python TypeError: 'dict' object is not callable solution

Dictionary is a standard Python data structure that stores the elements in the form of key:value pa…

Python random choice function to select a random item from a list and Set

Python random choice function to select a random item from a list and Set

We can use the random.choice()  function if we want to select a random item from a list, tuple…

Python random randrange() and randint() to generate random integer number within a range

Python random randrange() and randint() to generate random integer number within a range

In Python's random module, we have two functions randrange() and randint(), that can gener…

Quicksort algorithm using Hoare’s partitioning scheme

Quicksort algorithm using Hoare’s partitioning scheme

Problem Implement QuickSort using Hoare’s partition scheme. Approach Hoare's Par…

In-place vs out-of-place algorithms

In-place vs out-of-place algorithms

In-Place algorithms This is a category of the algorithms that do not consume any extra space in …

Find minimum and maximum with minimum number of comparisons

Find minimum and maximum with minimum number of comparisons

Problem Given an array of integers, find the minimum and maximum elements in it with a minimum n…