Tag: Smallest
Finding nth Largest and Smallest Node in Binary Seach Tree
Binary Search Tree Concept: In Binary Search Tree, Advertisements When we do the In-Order traversal, nodes will be visited in ascending order.In-Order Traversal For each Node, Traverse the left subtree Visit the node Traverse the right subtree i.e. for above BST, nodes will be visited in following order, 1 , 3 , 4 , 5 …
Finding nth Largest and Smallest Node in Binary Seach TreeRead More
Find the smallest file in a directory using python
In this article, we will discuss how to find the smallest file in a directory and its sub-directories using python. Table of contents Find the smallest file in a directory using python. Find the smallest file in a directory and its sub-directories using python. Get the smallest file in a directory using python In python, …
How to Remove Smallest Element From a NumPy Array?
This tutorial will discuss about unique ways to remove smallest element from a numpy array. Table of Contents Using numpy.argmin() function Using numpy.argsort() Summary Using numpy.argmin() function Suppose we have a numpy array of numbers, numbers = np.array([76, 75, 78, 61, 56, 71, 90, 91]) Now, we want to delete smallest element from this NumPy …
10 Smallest states in Nigeria
Nigeria is the largest economy in Africa and the most populated black nation on the planet. The country has a landmass of 923,768 square kilometres and is one of the continent’s biggest countries by size. Nigeria has 36 states and a Federal Capital Territory, the country is located in the west African region close to …
10 Smallest Countries in the world
There are over 200 countries across the world scattered on six of the seven continents. The planet has a land surface area of 510.1 million km2. Nonetheless, there exist some nations that make up less than 0.0001% of the total earth’s surface. With small land areas and limited population growth, small countries must utilize every …
10 Smallest countries in Africa
Africa is the second biggest continent in the world, having a size of over 30 million km2. The continent also has the most nations in the world than any other continent. Africa has had its fair share of ups and downs. Nonetheless, the continent has pulled through the most difficult times. One particular difficulty faced …