vinaykhatri
Vinay Khatri

I am a Full Stack Developer with a Bachelor's Degree in Computer Science, who also loves to write technical articles that can help fellow developers.

Check if one string can be made another by swapping at most once

Check if one string can be made another by swapping at most once

Problem Given two strings A and B, check if A can be made equal to B by swapping two characters …

Find a pair with a minimum absolute difference in an array

Find a pair with a minimum absolute difference in an array

Problem Given an unsorted array, find the minimum difference between any pair in a given array a…

Basic Python Exercise for Beginners

Basic Python Exercise for Beginners

Learning the basic syntax of Python is not enough. It is effortless to learn the syntax of any prog…

Find triplet having maximum product in an array

Find triplet having maximum product in an array

Problem Find 3 numbers from the array such that their product is maximum. Sample Input […

50 Best SED Commands in Linux/Unix with Examples

50 Best SED Commands in Linux/Unix with Examples

SED stands for Stream Editor and it is a feature in GNU/Linux that helps to perform various functio…

Find the minimum index of a repeating element in an array

Find the minimum index of a repeating element in an array

Problem Given an array of integers, find the first repeating element in it. We need to find the …

Mountain Array

Mountain Array

Problem Given an array of integers, check if it is a mountain array or not. An array is called a…

Find two non-overlapping pairs having the same sum in an array

Find two non-overlapping pairs having the same sum in an array

Problem Given an unsorted array of integers. The task is to find any two non-overlapping pairs w…

Linux Architecture & It's Component

Linux Architecture & It's Component

Linux is an Operating System Kernal that is the core of many distributions and Operating systems. I…

Top 50 Programming Terms and Definitions for Beginners

Top 50 Programming Terms and Definitions for Beginners

Computer programming is one of the most in-demand skills, and there is a broad spectrum of job role…

Top 50 JSP Interview Questions and Answers

Top 50 JSP Interview Questions and Answers

JSP stands for JavaServer Pages or Jakarta Server Pages. It is a server-side technology used for cr…

Python Class Variables vs Instance Variables

Python Class Variables vs Instance Variables

Python supports object-oriented programming, which means we can use class and objects to create the…