Sherlock and Squares

Photo by MagicPattern on Unsplash
def squares(a, b):
return floor(sqrt(b))-ceil(sqrt(a))+1

--

--

--

Work in progress

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Serve files from AWS S3 and video streaming guide

Where to host your web app?

Halving our AWS Lambda bill with parallel processing in Python

NoSQL for the beginners

How To Insert Ajax Result In A Text Field

How does the hex file work in the microcontroller?

Cloning Instagram: What I’ve Learned So Far

How do malloc & free work in C

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Parag Naik

Parag Naik

Work in progress

More from Medium

LeetCode Impact!

Leetcode problem 242 — Valid Anagram with Best Solution

Inorder Traversal of Binary Tree Using Iteration

Arrays Data Structures Explained