The Gateway to Computer Science Excellence
+1 vote
138 views
Is there any shortcut or Trick to get min number of multiplication faster? I mean if we could know the right split.
in Algorithms by (29 points) | 138 views

1 Answer

+2 votes
Yes there is  with this formula :(2n)!/((n+1)! * n!)

n=no of matrices-1
by Junior (811 points)
+1
It doesn't give optimal parenthesis it will just give the ways of paranthesing

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,737 questions
57,390 answers
198,587 comments
105,437 users