Get unlimited access
Open in app
Home
Notifications
Lists
Stories

Write
Aanchal Patial
Aanchal Patial

May 9, 2020

·
1 min read

Day 9 of 31-Day May LeetCode Challenge

Given a positive integer num, write a function which returns True if num is a perfect square else False.

Note: Do not use any built-in library function such as sqrt.

--

--

More from Aanchal Patial

We never really grow up, we only learn how to act in public

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

Try Knowable

Recommended from Medium

Dan Romans

Dan Romans

FormData For JavaScript

Tommy Callahan incorrectly answering a history test question. He fills in “Herbie Hancock” instead of “John Hancock”.
Serguei

Serguei

Migrating our Production TypeScript Frontend from CRA to Vite

Anjana Sudhir

Anjana Sudhir

in

The Code Shelf

Day 19: The “Add Two Numbers” Problem

Alpit Anand

Alpit Anand

Yet another tutorial on making Todo app in Reactjs — </>

Ariel Pinian

Ariel Pinian

in

Edgybees Blog

How to Move From an Existing Repository to a Monorepo Using NPM 7 Workspaces

Boris Kaul

Boris Kaul

Improving SSR performance in Virtual DOM libraries

Rohit Kumar

Rohit Kumar

Add dynamic reference to mongo filed

Gyeongsun Park

Gyeongsun Park

Getting Started with WebClient

AboutHelpTermsPrivacy


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
Aanchal Patial

Aanchal Patial

We never really grow up, we only learn how to act in public

More from Medium

Bharat Kumar Mareedu

Bharat Kumar Mareedu

REPEATED DNA SEQUENCE — LEETCODE

Java Code
Rafaela Grison

Rafaela Grison

[DSA notes] Stacks and Queues

Steven Lu

Steven Lu

Cracking the coding interview: Find element to occur K times — 5

Njuguna Sarah

Njuguna Sarah

My experience at JENGA School sepa program during sprint 4

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable