-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
feat : Program to find Kth Symbol of Grammar #1326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing proper tests, CI is failing.
@@ -14,5 +14,5 @@ export function TowerOfHanoi (n, from, to, aux, output = []) { | |||
|
|||
// Driver code (A, C, B are the name of rods) | |||
|
|||
// const n = 4 | |||
// TowerOfHanoi(n, 'A', 'C', 'B') | |||
const n = 4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated change.
} | ||
|
||
// Enter the row no. and col no. of matrix | ||
let ans = KSymbol( 4, 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be in a test I assume.
// 0 1 1 0 1 0 0 1 | ||
// 0 1 ,..... | ||
|
||
function KSymbol(n ,k){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs more comments, also doesn't abide by our style guidelines
@@ -0,0 +1,32 @@ | |||
// Recursive call function to find l=k th Symbol of Grammar (0 => 0,1 , 1=> 1,0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rephrase this
Hi, may I check if help is still required? Please let me know, I would be very much willing to help! |
Well, the issues still haven't been resolved. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Describe your change:
Checklist:
Example:
UserProfile.js
is allowed butuserprofile.js
,Userprofile.js
,user-Profile.js
,userProfile.js
are notFixes: #{$ISSUE_NO}
.