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
Problem Given an integer array arr, find a sorted triplet such that arr[i] < arr[j] < arr[…
Left Rotate an Array
Problem Given an array of integers, you need to rotate it by k times. Sample Input [1, 2…
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…
Print Matrix in Spiral Form
Problem Given an integer matrix, print it in spiral form Sample Input [1 2 3 4] [4 5 6 …
Shift all matrix elements by 1 in spiral order
Problem Given an M x N matrix, shift all its elements by 1 in spiral order Sample Input …
What is a WAN? [Definition, Types, and Technologies]
A wide area network (WAN) is a telecommunication network that connects multiple computers and netwo…
Job Sequencing Problem
Problem Given a set of jobs, each with its own deadline and corresponding profit. You get profit…
Activity Selection Problem
Problem Given pairs of integers denoting starting and ending time of each task. Find the maximum…
SAST vs DAST: Choose the Best Application Security Testing
Software testing is an elaborate process. There are many techniques and tools involved in ensuring …
What is System Testing? [Definition, Process, Types]
Companies and organizations carry out numerous types of software testing on their products before r…
What is an OSI Model? Everything You Need to Know
Earlier, in the 1960s and 1970s, vendors that developed computer systems had their own set of proto…