Sorting refers to arranging items of a list in a specific order (numerical or alphabetic). Sorting is generally used in tandem with searching. It is generally easier to search for an element (called the key) in a given list if the list is sorted, both visually and algorithmically. There are…

Javascript in the browser uses an event-driven programming model. When the page loads, it is called an event. When the user clicks a button, that click too is an event. Other examples include events like pressing any key, closing a window, resizing a window, etc. Events are a part of…

What is sorting?

Sorting means arranging systematically in groups; separate according to type, class, etc. We usually think of sorting as sorting numbers, ordering strings alphabetically, or think about ordering people in line or by height or by age or something. In interviews when an interviewer talking about sorting, it is usually about…

Shift Vs Unshift Methods in Javascript!

If you are new in the software developer world, these two Shift() & Unshift() methods Are very important. You will probably be using these methods inside a lot of functions to solve a lot of problems. …

What is sorting?

Sorting means arranging systematically in groups; separate according to type, class, etc. We usually think of sorting as sorting numbers, ordering strings alphabetically, or think about ordering people in line or by height or by age or something.

But in interviews when an interviewer talking about sorting, it is usually…

What is it Data Structure?

Data structures are ways of organizing information with optimal ‘runtime complexity’ for adding or removing records. So, in other words, these different data structures that I will show you all have very optimized ways of accessing or editing data.

In a context of an interview, usually a lot of these…

Let’s talk about what is a Spiral Matrix. The Spiral Matrix problem takes 2 -dimensional array of N rows and M columns as an input, and prints the elements of this matrix in spiral order.

The spiral begins at the top left corner of the input matrix, and prints the…

Faizah Ahsan

Junior Full-Stack Web Developer. Looking for opportunities!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store