## Strong Connectivity in Graphs

Strong Connectivity is a thing we use only in directed graphs. Definition of Directed Graphs HERE Def Nodes a and b in a graph are mutually reachable if there is both a path from a to b and also a path from b to a. If all the nodes in the graph are mutually reachable … Read more

## What is Edge Detection in Computer Vision

Before defining What is Edge Detection in Computer Vision? Let’s first define what is a Digital Image? A Digital Image is the representation of a continuous image f(x,y) by a 2-D array of discrete samples. Wikipedia definition of a Digital Image HERE Have you ever thought how the size of an image is calculated? The … Read more

## What is KNN algorithm in Machine Learning

It appears in a lot of Machine Learning interviews that, What is the KNN algorithm in Machine Learning? Today we are going to discuss it in depth. Read the full post to get a basic understanding of the KNN algorithm. Suppose we have a test Input X and we have to classify this X into … Read more

## How to Sort Numbers in Python without sort Function

Today we are going out to Sort Numbers in Python without sort Function. There is a similar Kata in Codewars to Sort only odd Numbers without sort Function in Python. The link of the similar Kata (sorting only odd numbers) is given HERE Task: You will be given an array of numbers. You have to sort the … Read more

## Stable Matching Problem Example

The Stable matching problem Example started with a question that, is that possible to design a college admission process that will be self enforcing? or a job recruiting process which is self enforcing? Stable Matching Wikipedia. Let’s say all Juniors in University started applying for summer Internships. The summer internship process is a two way … Read more

## Basic Data Types HackerRank solution in C++

Today we will give you the Basic Data Types HackerRank solution in C++. There are primitive data types and abstract data types in any programming language to learn more about them visit HERE. Before going towards the problem let’s see the format specifiers and common bit widths of different data types. Data Types Format Specifiers Common … Read more

Categories C++

## What is Big O Notation in Algorithm

Big O notation is a specific notation that indicates the speed of an algorithm. When you use others’ algorithms in your project it is necessary to calculate Big O notation. It will help you to know how fast or slow it will work in your case. To know more about Big O notation visit HERE Algorithm run-time at different rates Alex is working on a SpaceX search algorithm. When a rocket is poised to arrive on the Moon, his algorithm will kick in and assist in determining where to land. The Algorithm he has to use … Read more

## Complete reverseArray C++ Solution

I came through a question on LeetCode to complete a reverseArray function. We have an array and we have to return the array reversing all the elements inside it. For Example, we have an array “X” which has elements [1,2,3,4,5,6]. We have to write a function that will return the [6,5,4,3,2,1]. Question Complete the reverseArray … Read more

## Domain Types in SQL – Structured Query Language

A user-defined data types in SQL are Domain Type. You can use the domain instead of a built-in SQL data type. To know the difference between user-defined and built-in data types check our post.  You can use the domain instead of a built-in SQL data type when declaring a column. That column will then be restricted only to use the same domain. Some good definitions of Domain type in SQL are found HERE. … Read more

## Python get domain name from URL – Python Solutions

Today we are going out to find the domain name out of the URL string through Python. There is a similar Kata in Codewars to extract the domain name from a URL through Python. Let’s say we have the URL string which is https://hecodesit.com/ What would be the domain name of this URL? The domain … Read more