Skip to content

This repository contains the solution of data structure problems, which are generally asked during java interview.

Notifications You must be signed in to change notification settings

javatechgroup/datastructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Datastructure Problem and Solution

Section 1

  1. Fizz Buzz problem
  2. Palimdrome number
  3. Number of trailing zeros in a factorial of a number
    Solution is to find the count of 5 which are available in the factorial
    Example: !10 = 1 * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10
    which is further rewritten as !10 = 1 * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 2 * 5
    Answer: Number trailing zero = 2
  4. Power(x, n)

Section 2

  1. Reverse a String

About

This repository contains the solution of data structure problems, which are generally asked during java interview.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages