#### LeetCode – LinkedList – Split Linked List in Parts

Given a (singly) linked list with head node root, write a function to split the linked list into k consecutive linked list “parts”. The length of each part should be as equal as…

Skip to content
# Month: April 2020

#### LeetCode – LinkedList – Split Linked List in Parts

#### LeetCode – LinkedList – Odd Even Linked List

#### LeetCode – Strings – Compare Strings by Frequency of the Smallest Character

#### Dockerize a Flask Web Application

#### How to build a basic Flask Application

#### LeetCode – LinkedList – Next Greater Node In Linked List

#### LeetCode – Arrays – Count Number of Teams

#### LeetCode – Arrays – Cells with Odd Values in a Matrix

#### LeetCode – LinkedList – Linked List Components

#### You missed

Given a (singly) linked list with head node root, write a function to split the linked list into k consecutive linked list “parts”. The length of each part should be as equal as…

Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the value in…

Let’s define a function f(s) over a non-empty string s, which calculates the frequency of the smallest character in s. For example, if s = "dcce" then f(s) = 2 because the smallest character is "c" and its frequency is 2.…

In my previous post, I have shown you how to build a basic Flask application, now lets dockerize the application. You can follow the Django 3.0 application which we will…

This tutorial will explain the step by step procedure on building a basic Flask application. Flask can be defined as a lightweight WSGI web application framework. It’s quick and easy to…

We are given a linked list with head as the first node. Let’s number the nodes in the list: node_1, node_2, node_3, ... etc. Each node may have a next larger value: for node_i, next_larger(node_i) is the node_j.val such that j > i, node_j.val…

There are n soldiers standing in a line. Each soldier is assigned a unique rating value. You have to form a team of 3 soldiers amongst them under the following rules: Return the number of teams…

Given n and m which are the dimensions of a matrix initialized by zeros and given an array indices where indices[i] = [ri, ci]. For each pair of [ri, ci] you have to increment all cells in row ri and column ci by…

We are given head, the head node of a linked list containing unique integer values. We are also given the list G, a subset of the values in the linked list. Return the number…