# Tag coding interview questions

## Valid Perfect Square using Python

Validating perfect squares is a popular coding interview question. Here you will be given an integer, and you have to check if the integer is a perfect square. So, if you want to learn how to validate perfect squares, this…

## Counting Bits using Python

Counting Bits is a popular coding interview question. Here you will be given an integer, and you have to return an array of length (length of the integer + 1) by counting the number of 1’s in the binary representation…

## Power of Three using Python

The problem of the power of three is a popular coding interview question. Here we need to check whether the input value is the power of three or not. So, if you want to know how to solve this problem…

## Move Zeroes using Python

Moving zeroes is one of the popular questions in coding interviews. Here we need to move all the 0’s in an array to the end of the array while keeping the order of non-zero elements the same. So, if you…

## Ugly Number using Python

Ugly numbers are the numbers whose prime factors are limited to 2, 3, and 5. Finding the Ugly number is a popular question in coding interviews. Here you need to check if a number is an ugly number or not.…

The problem of adding digits is a popular coding interview question. Here we need to add all the digits of the integer till we get to a single-digit integer. So, if you want to know how to solve this problem using…

## Power of Two using Python

The problem of Power of Two is a popular coding interview question. Here we need to check whether the input value is the power of two or not. So, if you want to know how to solve this problem using Python, this…

## Check Duplicate Values using Python

The duplicate values problem is a popular coding interview question. Here we need to check if any value appears at least twice in an array. So, if you want to know how to solve this problem using Python, this article…

## Majority Element using Python

The majority element problem is one of the popular coding interview questions. Here we need to find the element that appears more than the other element in an array. So, if you want to know how to solve this problem,…

## Excel Sheet Column Title using Python

The excel sheet column title is one of the popular coding interview questions. Here we need to return the corresponding column title of an integer as displayed in an excel sheet. So, if you want to know how to solve…

## Single Number using Python

The Single Number problem is one of the popular coding interview questions. Here you will be given an array of integers where each item appears twice except for one that we need to find. So, if you want to know how…

## 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…

## Plus One using Python

The Plus One problem is one of the popular coding interview questions. It is asked in the coding interviews by companies like FAANG many times. Here you need to increment the last digit of an array by one and return…

## 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…

## Merge Two Sorted Lists using Python

Merging two sorted lists is one of the popular problems in Leetcode. It is asked in coding interviews by companies like FAANG many times. Here you need to return a sorted list by merging two sorted lists. So, if you…

## Longest Common Prefix using Python

Longest Common Prefix is one of the popular problems in Leetcode. It is asked in coding interviews by companies like FAANG many times. Here you need to return the longest common prefix among all the strings in an array of…