# Tag coding interview questions

## Check Perfect Number using Python The problem of checking perfect numbers is a popular coding interview question. A perfect number is a positive integer equal to the sum of its positive divisors, excluding the number itself. In this problem, you will be given an integer,…

## Hamming Distance using Python The problem of hamming distance between two integers is a popular coding interview question. Here you will be given two integers, and you need to calculate the number of positions at which the corresponding bits of the integers are different. So, if…

## Number of Segments in a String using Python The problem of counting the number of segments in a string is a popular coding interview question. Here you will be given a string, and you have to count the number of non-space characters in the string. So, if you…

## Validate Palindrome Words using Python Palindrome words are words that are read the same backward as forward. For example, mom, dad, and madam are palindrome words. Validating palindrome words is one of the popular coding interview questions. So, if you want to learn how to…

## Best Time to Buy and Sell Stock using Python Finding the best time to buy and sell stocks is one of the popular coding interview questions. Here we need to return the maximum profit we can achieve from buying and selling a stock. So, if you want to learn…

## Pascal’s Triangle using Python Pascal’s Triangle is one of the popular coding interview questions. It is asked in the coding interviews by FAANG companies many times. In Pascal’s Triangle problem, we need to return the number of rows of a Pascal’s Triangle. So, if…

## Remove Duplicates from a Sorted Array using Python Removing duplicate values from a sorted array is one of the popular coding interview questions. It is asked in coding interviews by companies like FAANG many times. Here you need to return an array of unique values by removing all the…