Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/careercup/CtCI-6th-Edition-JavaScript
/ parens.js
File
parens.js
chapter08/8.09 - Parens/parens.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
var
parens =
function
(n) {
2
var
answers = [];
3
var
recurse =
function
(currParens, remainingPairs) {
4
if
(remainingPairs === 0) {
Callers
nothing calls this directly
Calls
1
parens
Function · 0.85
Tested by
no test coverage detected