Skip to content

Instantly share code, notes, and snippets.

Ashish Pandey ashishpandey001

Block or report user

Report or block ashishpandey001

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ashishpandey001
ashishpandey001 / combination_calculator.rb
Created Nov 9, 2017
A calculator to calculate the unique combinations of tracks on the basis of no of sets
View combination_calculator.rb
$total_count = 0
$no_of_tracks = 8
def combination_calculator(max_tracks_per_play)
local_count = 1
max_tracks_per_play.times do
local_count *= $no_of_tracks
end
return local_count
end
You can’t perform that action at this time.