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.

Minimum Edit Distance

Minimum Edit Distance

Problem Statement You are given two strings, string1 and string2, your task is to perform the op…

Program to convert first letter of each word of a string to uppercase and other to lowercase

Program to convert first letter of each word of a string to uppercase and other to lowercase

In this tutorial, we will write the logic in 3 different programming languages that will accept a s…

Majority Element - How to Find?

Majority Element - How to Find?

We have been given an integer array of size ‘n’, we have to print the majority element …

How to Convert a List to Dictionary in Python?

How to Convert a List to Dictionary in Python?

List and Dictionaries are the two most prominent built-in data structures in Python. A list is gene…

What can you do with Python?

What can you do with Python?

Right Now, It is one of the most popular programming languages in the world, and there is a reason …

The Stock Span Problem

The Stock Span Problem

The Stock Span Problem is one of the famous financial problems where we have a list of prices of st…

How to Remove Last Character from Python String?

How to Remove Last Character from Python String?

A Python string is a collection of characters inside single, and double-quotes. And often in Python…

Check for pairs in an array with a particular sum

Check for pairs in an array with a particular sum

Consider an array arr[] with n elements where the values in the array consist of both positive valu…

Find the Maximum of Minimum for Every Window Size in a Given Array

Find the Maximum of Minimum for Every Window Size in a Given Array

In this tutorial, we are going to find the maximum and minimum for every window size in a given Arr…

Write a Program to Print Square Using * Character

Write a Program to Print Square Using * Character

Printing patterns using * is one of the most common interview questions. In this article, we wil…

Write a Program to Print Triangle Using * Character

Write a Program to Print Triangle Using * Character

In this article, we will learn how to print inverted right-angle triangles in C, C++, and Python. I…

Convert a Binary Tree to Doubly Linked List

Convert a Binary Tree to Doubly Linked List

You are given a Binary Tree. Your task is to convert it into a doubly-linked list. The left and rig…