maazbinasad

Maaz Bin Asad

Maaz is a freelance content writer and an engineering undergraduate who is experienced working in the software development industry. He likes solving algorithmic problems and finding new approaches to optimize given problems.

What is Steganography? [Advantages, Examples, & Types]

What is Steganography? [Advantages, Examples, & Types]

This digital world has witnessed the inception of multiple methods to protect data being transferre…

Nginx 403 Forbidden Error

Nginx 403 Forbidden Error

It is obvious that when you work with any system, server, or web resource for maintenance or config…

Top Minecraft Foods - The Ultimate List

Top Minecraft Foods - The Ultimate List

Carrying food items in Minecraft is crucial to ensure that you don’t starve and die of starva…

Find the Difference (Beautiful Arrangement) Problem Solution

Find the Difference (Beautiful Arrangement) Problem Solution

Problem Given two strings, ‘s’ and  ‘t’ have all the characters the…

Find minimum product among all combinations of triplets in an array

Find minimum product among all combinations of triplets in an array

Problem Find the minimum product of any three triplets in an array. Sample Input [1, 2, …

Count distinct absolute values in a sorted array

Count distinct absolute values in a sorted array

Problem Given a sorted array of integers, return the number of distinct absolute values among th…

Find subarrays with a given sum in an array

Find subarrays with a given sum in an array

Problem Given an unsorted array of nonnegative integers, find a continuous subarray which adds t…

Find the index that divides an array into two non-empty subarrays with equal sum

Find the index that divides an array into two non-empty subarrays with equal sum

Problem Given an integer array, find an index that divides it into two non-empty subarrays havin…

Efficiently calculate the frequency of all elements present in a limited range array

Efficiently calculate the frequency of all elements present in a limited range array

Problem Given an array of the sizes n where elements range from 0 to n-1. Calculate the fre…

Rearrange an array such that it contains alternate positive and negative numbers

Rearrange an array such that it contains alternate positive and negative numbers

Problem You are given an array. Rearrange the elements such that positive and negative integers …

Find the sorted triplet in an array

Find the sorted triplet in an array

Problem Given an integer array arr, find a sorted triplet such that arr[i] < arr[j] < arr[…

Activity Selection Problem

Activity Selection Problem

Problem Given pairs of integers denoting starting and ending time of each task. Find the maximum…