We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Lisa's Workbook
Lisa's Workbook
Sort by
recency
|
946 Discussions
|
Please Login in order to post a comment
Here is problem solution in Python, Java, C++, C and Javascript - https://programmingoneonone.com/hackerrank-lisas-workbook-problem-solution.html
Here is my c++ solution
int workbook(int n, int k, vector arr) { vector> pages; int specialCount = 0;
}
Here is my c++ solution , you can watch the explanation here : https://youtu.be/3L-haDbsjAg
Perl:
Here is my Python solution! I think it can probably be done much faster, but I was too lazy to try to create a more efficient solution.