## 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

## C++ Programming Solutions – Encrypt String

Today we will give you the C++ Programming Solution of Encrypting a String. There are many types of encrypting a string some of them are HERE. We are going to encrypt a simple String in C++. The Coding Problem and its Solution are below. Question Kathy is a scientist who is developing a machine that creates 5-character long string code. She prefers to encrypt the strings rather than save them as they are. She’s requested you to create software that would accept a 5-character string as input and encrypt it in the format she’s provided You must look for the letters in the odd locations of the string and, if they are vowels, you must replace them with  _ (underscore). Example … Read more

Categories C++

## Algorithm Machine Learning – Machine Learning

Algorithm Machine Learning is a word made up of three words, Algorithm, Machine, and Learning.  The algorithm is a set of rules to solve a problem. A machine is a tool that makes your life easy, and Learning is studying new things. Before diving into the Algorithm let’s first fully grasp what are learning tasks, specifically Machine Learned Tasks. … Read more

## Binary Search Python – Searching Algorithm

Binary Search Python is an optimized search algorithm to find a variable in an Ordered array or list. Suppose I have to find supercalifragilisticexpialidocious in a dictionary: Dictionary is an ordered list. (A-Z) I will not find the word in the start because its starting character is not A. Suppose I open a page randomly in … Read more

## What is Abstract Data Types – Data Types

This question appears a lot in front of Computer Science Students, that What is Abstract Data types? Before we define Abstract Data types, let us define two important terms what are data types? and what are primitive data types? Data Types A data type is a collection of data having specified values in a computer language. For example, int, float, double, string, char, etc. There is a predefined data … Read more

## Database views in SQL – View of Data

Before going into the Database views in SQL, first, let’s see what a Database is?   The database is a collection of interrelated data, for example, the Database of the Hospital. It contains the data related to Patients Drugs, their illness, etc., which are somehow related. A Database must be efficient and sensible; for example, … Read more

## Codewars Python – Integer to Roman conversion

Codewars Python in its 6kyu Kata has given us a problem to convert an integer into the Roman numeral Symbols. In Ancient Roman times, people use Roman numbers instead of integers. Roman numbers We can use the Roman symbol for any number.  For e.g instead of 1, we can use I instead of 2 we … Read more