# Category: Coding

## New Year Chaos, Hackerrank

We will discuss Find the New Year Chaos problem from Hackerrank here. Problem Statement It is New Year’s Day and people are in line for the Wonderland rollercoaster ride. Each person wears a sticker indicating their initial position...

## Leetcode 1337: K Weakest Rows In A Matrix

Problem link – https://leetcode.com/problems/the-k-weakest-rows-in-a-matrix/ This Leetcode – 1337: The K Weakest Rows in a Matrix problem is present in the binary search, easy category list. Problem Statement Given a m * n matrix mat of ones (representing soldiers) and zeros (representing civilians), return...

## How to read multiple CSV/Excel files in R and write in SQL?

Suppose, you have multiple CSV/Excel files, assume 100,200 in a folder or may be in a different folder. You want to write all those files to MS SQL through R. If you will do...

## An introduction to Array

In this blog, I will be discussing about one of the oldest and widely used data structure called array and will be answering the following questions – 1. What is an array ?2. What...

## How I achieved 6 stars on hacker rank in 1 month ?

Having 6 stars on hacker rank is not a big deal as there are lot of programmers with better achievements, but on the other side there are still lot of programmers who wants to...

## Search in a sorted array by using Binary search

Binary search algorithm is used to find a value in a sorted array in O(log n) time complexity by dividing the array in two halves and comparing middle value.

## Learn data structures to start preparing for tier 1 companies

Many students, freshers and even experienced persons want to work in a tier-1 product based companies, such as – Amazon, Microsoft, Facebook, Google, Adobe But selection criteria of these companies are very high as...

## Find the Running Median, Hackerrank

We will discuss Find the Running Median problem from Hackerrank here. It is a typical problem if you don’t know about the data structure you can use here. Problem Statement The median of a...

In this blog, we will discuss a problem Jesse loves cookies or jesse and cookies mentioned on Hackerrank Problem Statement Jesse loves cookies. He wants the sweetness of all his cookies to be greater...

## Classical inheritance in JavaScript

Inheritance in JavaScript is quite different from the concept of inheritance in other languages. It would be right to call it as delegation. Why delegation ?? Because during inheritance in JavaScript, properties and methods from...