Hackerrank | Birthday Candles Problem
You are in charge of the cake for a child’s birthday. You have decided the cake will have one candle for each year of their total age. They will only…
Code in a Better Way
You are in charge of the cake for a child’s birthday. You have decided the cake will have one candle for each year of their total age. They will only…
Given five positive integers, find the minimum and maximum values that can be calculated by summing exactly four of the five integers. Then print the respective minimum and maximum values…
Staircase detail This is a staircase of size n=4: Its base and height are both equal to 4 . It is drawn using # symbols and spaces. The last line…
Given an array of integers, calculate the ratios of its elements that are positive, negative, and zero. Print the decimal value of each fraction on a new line with places…
Given a square matrix, calculate the absolute difference between the sums of its diagonals. For example, the square matrix is shown below: The left-to-right diagonal =1+5+9=15. The right to left…
Alice and Bob each created one problem for HackerRank. A reviewer rates the two challenges, awarding points on a scale from 1 to 100 for three categories: problem clarity, originality,…
Till now, We have read about Gradient Descent,Min-Batch Gradient Descent,Stochastic Gradient Descent and other type of Gradient Descents and Polynomial Regression. In this post we will learn about Learning Curves…
Introduction Till now, We have read about Gradient Descent,Min-Batch Gradient Descent,Stochastic Gradient Descent and other type of Gradient Descents. In this post we will learn about Polynomial Regression. What if…
When working with arrays, solving problems like finding two elements that sum up to a target or three elements with a specific sum is quite common. In this blog post,…