Search posts, tags, users, and pages
Arpan Tiwari
Developer
#kthsymbolingrammar_leetcode class Solution { public: int kthGrammar(int n, int k) { if(n==1) return 0; if(k%2==0){// flip int x = kthGrammar(n-1,k/2); if(x==0) return 1; else return 0; ...
Markdown supported · ⌘↵ to post
No responses yet.