Category: Coding

hackerrank - problem solving 0

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 - problem solving 0

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

1

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

0

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

heaps 0

Jesse and Cookies, Hackerrank

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