Code
Find Parent of a Node in Binary Tree | Python Code
Problem statement: Write a program to find the parent of the node in binary tree (BT). (This question is asked in many coding interview rounds.) Example: Let's...
How to Solve Captcha Using Python?
You have probably encountered those annoying messages on registration or feedback pages that read, "Enter the letters you see on the image," or "Select the images with a..."...
35 Java Interview Questions for Freshers and Experienced 2022
If you are preparing for a Java interview or looking job opportunity in Java development, here are the 35 Java interview questions you must prepare for. Whether you are a...
Design Music Player with Shuffle Feature | Python Code
Problem statement: Design and implement a music player which has a shuffle playlist feature. Make sure shuffle doesn't repeat songs. This question was asked in the Amagi...
Write a Program to Find GCD of Two Numbers
What is GCD (Greatest Common Divisor)? GCD of the two numbers is the largest positive integer that divides both numbers. Characteristics: The GCD of the two numbers is...
Top 10 SQL Query Concepts for Job Interview
If you are preparing for the software developer job, here is the list of SQL concepts you must know. In interview, interviewer can ask you to describe any of the basic SQL...
Find the First Unique Element in a Stream of Characters at any Given Point
Problem Statement: Find the first unique element in a stream of characters at any given point. Input: a b c d a b c Output: a a a a b c d This competitive coding challenge...
Flip Equivalent Binary Trees | Coding Challenge
This is one of the popular coding challenges on the binary tree. Let's understand the flip operation first. For a binary tree, we can define a flip operation as...
[Solved] Maximum Profit by Buying and Selling Stocks Shares
Coding challenge: You want to maximize your profit by choosing a single day to buy one stock and choosing a different day in...