Open via intellij and run it by right clicking main and then run by doing the following Modify the number in program arg to the leetcode question you want to run Now click the "run" button to run your leetcode