Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
updated .cpp solution file
Added more test cases, the solution function remains the same
  • Loading branch information
insomniac157 committed Oct 3, 2024
commit ed03fb4ef2eebc53b1f9d6dbc2e0add1788b4b08
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ int main() {
Solution sol;

cout << sol.getLucky("iiii", 1) << endl;
cout << sol.getLucky("leetcode", 2) << endl;
cout << sol.getLucky("zbax", 2) << endl;

return 0;
}