Skip to content

SOLVED - Java program to find perfect squares in a given sequence of numbers

Notifications You must be signed in to change notification settings

jppay/find-squares

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

find-squares

Problem statement: Write a program to find perfect squares in a given sequence of numbers. The input is a sequence of numbers such n, n+1, n+2.......x such that n < x. The program should find all the perfect squares between n and x.

Solution: Following assumptions are made while devising the solution -

  1. n and x are positive numbers
  2. For brevity, n and x are accepted as input and the intermediate sequence (n+1, n+2.....x-1) is auto-generated
  3. There's infinite resources available for executing this program
  4. Time and space complexity are not considered

About

SOLVED - Java program to find perfect squares in a given sequence of numbers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages