TypeScript is an open-source object-oriented language developed and maintained by Microsoft, licensed under Apache 2 license. It is a typed superset of Javascript that compiles to plain JavaScript.

Why Typescript ???

  1. Compilation − JavaScript is an interpreted language. Hence, it needs to be run to test that it is valid. It means you write all the codes just to find no output, in case there is an error. Hence, you have to spend hours trying to find bugs in the code. The TypeScript transpiler provides the error-checking feature. TypeScript will compile the code and generate compilation errors, if it finds some sort of…

An array contains both positive and negative numbers in random order. Rearrange the array elements so that all negative numbers appear before all positive numbers.
Examples :

Input: -12, 11, -13, -5, 6, -7, 5, -3, -6
Output: -12 -13 -5 -7 -3 -6 11 6 5

So this question is asked in few different big tech companies and the core concept is very interesting in this question.

I will be coding in C++

Method: Two Pointer Approach

Two Pointer Approach: The idea is to solve this problem with constant space and linear time is by using a two-pointer or two-variable approach where we…

One of the features that arrived with ES6 was the addition of let and const, for the purposes of variable declaration. The question is — what makes them different from the good old var which we've been using? If you are still not clear about this, then this article is for you.

Before jumping into it, let me give you a brief introduction to few topics :


It essentially means where these variables are available for use. You can assume it as the area of working.


A block is a chunk of code bounded by {}. A block lives in…

Sometimes you may need to take an array and apply some procedure to its elements so that you get a new array with modified elements. Instead of manually iterating over the array using a loop, you can simply use the built-in Array.map() method. The Array.map() method allows you to iterate over an array and modify its elements using a callback function. The callback function will then be executed on each of the array's elements.

For example, suppose you have the following array doing some basic operation over the elements.

Iterate over an array using for loop

But you can actually use the Array.map() method to achieve the…

Before disclosing the top 3 rules to become a better developer and stand out from the crowd, let me tell you the harsh reality first. Most of the programmers often can’t distinguish the fact what is coding and what is development. Just typing lines of code doesn’t make you a Developer. So read the next few step properly and try to put those into your daily life.

1. Avoid the Tutorial Hell:

Don’t be a fool. You are a logical person if you are a programmer .There are tones of tutorials, courses and boot camps on a particular programming language. They are offering this and…

Laravel is a php framework which will speed up your development. It will have the opinion about your front end as well as your backend. It has a cool feature called MVC (Model,View,Controller). Laravel is accessible, yet powerful, providing powerful tools needed for large, robust applications. A superb inversion of control container, expressive migration system, and tightly integrated unit testing support give you the tools you need to build any application with which you are tasked.

Before jump into into the tutorial ,let me clear few things first.

  1. I am using a Windows 10 machine with Xampp Server installed. If…

Programming languages are evolving daily. The trending language in IT industry keeps on changing based on the framework available, and many other factors. Choosing a correct language is the key to become a efficient developer out there.

I’m not listing them as their utilities ,just come up with the thought that you can invest quality amount of time in those language to become a pro-developer.

Picture is taken from @heylagostechie(unsplash.com)

1. Java:

It may be a topic of argument to choose Java in 2021.According to IT industries, Java is still in the main stream and many java frameworks are used in many applications. Java is essential for…

Bootstrap is the most popular CSS Framework for developing responsive and mobile-first websites.

I’m using Visual studio Code for Code Editor and Windows machine. In this article , I completely focused with bootstrap for beginners & didn’t spend much time to design the form more attractive. You can definitely design the form much more better than me.

1.Create HTML Template:

Before using bootstrap, let’s create a file a blank html file with boilerplate html template.

ReactJS offers graceful solutions to some of front-end programming’s most persistent issues, allowing you to build dynamic and interactive web apps with ease. It’s fast, scalable, flexible, powerful, and has a robust developer community that’s rapidly growing. There’s never been a better time to learn React.

Installation :

I’m using a Windows 10 machine.

First, you need to install Node.js in your machine. The download link is here.

Visual Studio Code is a popular IDE that makes life easier for any type of developer backend or frontend. It was developed by Microsoft and can be used on Windows, Mac, and Linux.In order to maximize your productivity using VS Code, you need to download these 5 extensions. Downloading these 5 extensions will not only make you feel like a 10x developer, but you will be one. Let’s get to it!

How to Load the Extensions In VS Code:

After opening the VS Code editor you are suppose to see this panel at your left of the window, and click on the coloured icon( Extension Market Place) as…

Ankan Das

I’m a Web Developer and Content Creator on Youtube . To know more about me lets connect : https://ankandaslinks.netlify.app/

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