# Which sorting algorithm makes minimum number of swaps?

Sorting means arranging a set of data in an order. There’re various algorithms to sort the data (in a data structure) in increasing or decreasing order. These algorithms can be divided on basis of various factors:

Inplace sorting means that all the data which is…

# What are the Android 12 new features? — Aureolls

As we all know, Google always name Android new versions like Kitkat, Marshmello, Oreo etc. But this year it just got to numbers ie 12. Android 12 brings a big change in visuals, design and animations. Android 12 new features include big redesign, privacy, new Material You inspired UI.

At…

# Why are social network websites so addictive?

In 2020, people are devoting more time on their smartphones than actually talking to one another in real life. You’ll hardly find any adult who is not on Facebook, Instagram, LinkedIn or WhatsApp. And with people spending so much time indoors due to pandemic, it seems virtual world has taken…

# Multivariate Linear Regression

This is similar to linear regression but instead of having single dependent variable Y, we have multiple output variables. It may be written as,

Y = XB + U ,

where Y is a matrix with series of multivariate measurements (each column being a set of measurements on one of the dependent variables), X is a matrix of observations on independent variables that might be a design matrix (each column being a set of observations on one of the independent variables), B is a matrix containing parameters that are usually to be estimated. U is the regularisation factor.

Representing it in the old form,

# Multiple Linear Regression

In the last post we learnt about Linear regression with one variable. The hypothesis function for it was:

which is a straight line.

# Linear Regression

Machine Learning (ML) is the field of study that gives computers the ability to learn without being explicitly programmed.

Machine Learning Algorithms

# Crawl Instagram

In 2020, the official Instagram API allow you to access only your own posts and not even public comments and posts on Instagram because of the rising privacy concerns from the users and frequent accusations of data-breach at many big companies including Facebook.

So, how to crawl public posts?

There’s…

# How to crack the programming interview?

Many of us have questions in our mind like what should I study for Google, Microsoft, Directi, Flipkart, and Amazon interviews if I have ample time.

Well, you should start by strengthening your programming language skills. Get a good grasp over a language syntax and library methods, preferably Java or…

# Multiset Partitioning Problem

In mathematics, a partition of a set is a grouping of its elements into non-empty subsets, in such a way that number of elements in the original set always equals to the sum of number of elements in each partition.

Equivalently, a family of sets P is a partition of…

# Quick Sort vs Merge Sort

This is a common question asked in the interviews that despite of better worst case performance of merge sort, quick-sort is considered better than merge sort, especially for a large input. There are certain reasons due to which quick-sort is better:

1- Auxiliary Space: Quick sort is an in-place sorting…

## Himanshu Kansal

Get the Medium app