jsq1234 / leetcode-go Goto Github PK
View Code? Open in Web Editor NEWA simple CLI tool for searching, downloading and submitting problems to leetcode written in Golang.
License: Other
A simple CLI tool for searching, downloading and submitting problems to leetcode written in Golang.
License: Other
search a problem
Mood changed, I don't wanna download it any more.
How can I cancel the current menu? Esc key should work.
Currently ctrl+c works.
~/github/leetcode-go main !1 ?8 ❯ leetcode-go topic linkedlist 15s
▀ Fetcing linkedlist problems... (0s)panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x7e08dd]
goroutine 1 [running]:
github.com/Manan-Prakash-Singh/leetcode-go/core.GetTopics({0x7ffdafe130cc, 0xa})
/home/om/go/pkg/mod/github.com/!manan-!prakash-!singh/[email protected]/core/main.go:193 +0x17d
github.com/Manan-Prakash-Singh/leetcode-go/cmd.glob..func7(0xd3a5c0?, {0xc0000994d0?, 0x1?, 0x1?})
/home/om/go/pkg/mod/github.com/!manan-!prakash-!singh/[email protected]/cmd/topic.go:19 +0x2a
github.com/spf13/cobra.(*Command).execute(0xd3a5c0, {0xc0000994a0, 0x1, 0x1})
/home/om/go/pkg/mod/github.com/spf13/[email protected]/command.go:944 +0x847
github.com/spf13/cobra.(*Command).ExecuteC(0xd39a40)
/home/om/go/pkg/mod/github.com/spf13/[email protected]/command.go:1068 +0x3bd
github.com/spf13/cobra.(*Command).Execute(...)
/home/om/go/pkg/mod/github.com/spf13/[email protected]/command.go:992
github.com/Manan-Prakash-Singh/leetcode-go/cmd.Execute()
/home/om/go/pkg/mod/github.com/!manan-!prakash-!singh/[email protected]/cmd/root.go:30 +0x2e
main.main()
/home/om/go/pkg/mod/github.com/!manan-!prakash-!singh/[email protected]/main.go:9 +0x17
During search it will be a good option to show, whether problem has already accepted solution
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.