Number of edges
var l = Math . pow ( k , n ) ; for ( var i = 0 ; i < l ; ++ i ) S += A [ edges [ i ] ] ; S += startingNode ; return S ; } function strings ( n , charAt ) { var str = " " ; for ( var i = 0 ; i < n ; i ++ ) str += charAt ; return str ; }