Draw Hexagon using Turtle in Python

By Mariya Banatic J

In this tutorial, we are going to see how to draw Hexagon using Turtle in Python. First, you have to know about the Turtle graphics that is available in Python. Turtle: When a user.... Read More

Find median of an array using Quick Select Algorithm in C++

By Punnam Chandnaik

In this post, we are going to learn about Find median of an array using a Quick Select Algorithm in C++. This post will help you to understand better the concept of a quick-select .... Read More

Find the Longest path between any pair of vertices in C++

By Punnam Chandnaik

Welcome to code speedy. Today here we will Find the Longest path between any pair of vertices in C++. Finally, we go through the implementation. The longest path between vertices i.... Read More

try-except vs if-else in Python with examples

By Ranjeet V

In this tutorial, we are going to compare the try-except block with if-else statements in Python and see how they can be used in our Program. As we know, if-else statements are use.... Read More

Neural style transfer in TensorFlow – Python

By Vanshikha Sharma

In this tutorial, we will learn about Neural style transfer in TensorFlow. In this algorithm, we optimize the loss functions to get pixel values. Neural Style transfer takes two im.... Read More

Java Program to implement Linear Extrapolation

By Saurabh Salunkhe

In this tutorial, we will discuss the logic behind computing the linear extrapolation in Java. Also, we will implement a Java problem that will compute the extrapolation result bas.... Read More

Java program to count set bits in an Integer

By Saurabh Salunkhe

In this tutorial, we will discuss the logic behind counting the number of set bits in Java. Also, we will implement a Java program that will count the number of set bits. What are .... Read More

Integral roots of a cubic equation in C++

By Meetali Tomer

In this tutorial, we will learn how to find the integral roots of a cubic equation in C++. Cubic equation Cubic equation is of the form—  ax3 + bx2 + cx + d = 0. a , b , c ,.... Read More