To prepare for an interview in Go, Rust or Kotlin, use Firecode if you want the help in your language as well as the editor: every problem's hints are written for Go, Rust or Kotlin, and the learning engine plans your sessions and brings solved problems back. LeetCode has the biggest problem bank in all three, and HackerRank is worth practicing on if a company runs its online assessment there.
If you write Go, Rust or Kotlin all day, interviewing in it is usually the right call: you'll think faster in the language you use at work than in Python you learned for the interview. The catch is that almost every video, editorial and cheat sheet assumes Python, Java or C++. You end up translating, and the parts that don't translate are where you lose time: Go has no heap type and no set, Rust's borrow checker turns a simple tree problem into a slow one, and Kotlin's collections hide a few traps.
Which platforms support Go, Rust and Kotlin
Firecode, LeetCode and HackerRank run all three in the editor. What differs is whether the help is in your language too, and how current the compiler is.
| Platform | Go | Rust | Kotlin | What you get | Price (checked 27 Nov 2026) |
|---|---|---|---|---|---|
| Firecode | Yes, hints written for Go | Yes, hints written for Rust | Yes, hints written for Kotlin | Hints written for your language, Firebot on your code, solved problems brought back | $59/month, $288 for six months, $729 lifetime; 14-day free trial on the monthly and six-month plans |
| LeetCode | Yes, a current release | Yes, a current release | Yes, a current release | The biggest problem bank | Most problems free; Premium $35/month (list $39), $159/year (list $299) |
| HackerRank | Yes, Go 1.26.4 | Yes, Rust 1.59.0 | Yes, Kotlin 1.9.0 | Where many companies run online assessments | Interview Preparation Kit free |
| NeetCode | Solutions in Go | Solutions in Rust | Solutions in Kotlin | Python videos, solutions in your language | NeetCode 150 free; Pro $95.20/year (list $199), $207.90 lifetime (list $599) |
Firecode
Go, Rust and Kotlin are three of Firecode's 14 languages. The step-by-step hints on each problem are written for the language you picked, not translated from Python. On Merge K Sorted Lists, the Go hints work through container/heap with the MinHeap type the problem gives you; the Kotlin hints build a java.util.PriorityQueue with a comparator. Rust trees are Option<Box<TreeNode>>, so a recursive tree solution reads much like it would in any other language. When you're stuck on a comparator or a borrow, Firebot, the AI tutor in every problem, gives one hint at a time on the code you've written, up to the full solution if you ask.
Writing a five-method Go heap once isn't enough. The learning engine plans each session from 1,500+ real interview questions and brings back problems you've solved, so the heap you worked out in September is one you can still write cold in November.
LeetCode
LeetCode runs all three on current releases, so modern syntax compiles. Its Go environment also ships the gods data structures library (emirpasic/gods), which has heaps, sets and trees. That's handy, but an interview editor may give you only the standard library, so learn container/heap anyway.
HackerRank
HackerRank supports all three, but its coding environment runs Rust 1.59.0 and Kotlin 1.9.0. Rust 1.59 dates from early 2022, so newer syntax such as let-else (stable since 1.65) won't compile. If a company sends you a HackerRank assessment in Rust, write to the older subset. The free Interview Preparation Kit is a good way to get used to the editor.
NeetCode
NeetCode's videos teach in Python, and its solutions repository on GitHub has versions in Go, Rust and Kotlin, among 14 languages. You watch for the idea and read the solution in your language; what to practice next, and when to come back to it, is up to you.
Go: the standard-library gaps that cost candidates time
Go's standard library is deliberately small, and three gaps come up constantly.
There's no set. Use a map with an empty struct value, which needs no storage of its own:
seen := map[int]struct{}{}
seen[x] = struct{}{}
if _, ok := seen[y]; ok { /* y is in the set */ }map[int]bool is fine too and reads more naturally; say which you're using and move on.
There's no heap type. container/heap gives you heap operations over any type that implements five methods: Len, Less, Swap, Push and Pop. Writing that boilerplate under pressure is where Go candidates lose minutes on Top K Frequent Elements or Merge K Sorted Lists, so practice it until you can type it without thinking:
type MinHeap []int
func (h MinHeap) Len() int { return len(h) }
func (h MinHeap) Less(i, j int) bool { return h[i] < h[j] }
func (h MinHeap) Swap(i, j int) { h[i], h[j] = h[j], h[i] }
func (h *MinHeap) Push(x any) { *h = append(*h, x.(int)) }
func (h *MinHeap) Pop() any {
old := *h; n := len(old); x := old[n-1]; *h = old[:n-1]; return x
}
// h := &MinHeap{}; heap.Push(h, 5); smallest := heap.Pop(h).(int)Call heap.Push and heap.Pop, never the methods directly. For a max-heap, flip Less.
Queues and stacks are slices. A stack is append and s[:len(s)-1]; a BFS queue is q = q[1:]. Both are fine in an interview.
Smaller things: since Go 1.21 there are built-in min and max and a slices package with slices.Sort, slices.Contains and slices.BinarySearch, which save a lot of typing. range over a string gives runes, not bytes; index with s[i] when the input is ASCII and you want bytes. sort.Slice(arr, func(i, j int) bool { ... }) covers custom sorts.
Rust: linked lists, trees and the borrow checker
Rust is the hardest of the three to interview in, and almost all of the difficulty is in linked lists, trees and graphs. Arrays, strings and hash maps are pleasant.
Linked lists are Option<Box<ListNode>>. The moves you need are take(), which moves a value out of an Option and leaves None, and as_mut(), which borrows into it. Reversing a list, the problem that shows up everywhere:
fn reverse_list(mut head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
let mut prev = None;
while let Some(mut node) = head {
head = node.next.take();
node.next = prev;
prev = Some(node);
}
prev
}If you can write that from memory and explain why take() is needed, most list problems follow.
Trees on LeetCode are Option<Rc<RefCell<TreeNode>>>. That's shared ownership plus runtime borrow checks, so every access goes through .borrow() or .borrow_mut(), and passing a child down means Rc::clone. It's verbose, and holding a borrow() while calling borrow_mut() on the same node panics at runtime. Practice five or six tree problems in this shape before an interview that uses it. (Firecode uses Option<Box<TreeNode>> for trees, which avoids all of this.)
BinaryHeap is a max-heap. For a min-heap, wrap values in std::cmp::Reverse. For BFS use VecDeque. Count with the entry API: *counts.entry(x).or_insert(0) += 1.
Watch usize. Indices are unsigned, so i - 1 when i is 0 panics in a debug build and wraps silently in a release build. Use checked_sub, cast to i64, or restructure the loop. Strings can't be indexed with s[i]; call s.as_bytes() for ASCII input or collect s.chars() into a Vec<char>.
If you get tangled in the borrow checker mid-interview, say what you're trying to do and reach for .clone() to get unstuck. A working solution with one clone you can explain beats an elegant one you didn't finish.
Kotlin: where Java's library fills the gaps
Kotlin is the most comfortable of the three for interviews: concise, with a rich collections library, and Java's data structures are there when Kotlin's run out.
There's no heap in Kotlin's own library. Use java.util.PriorityQueue, with a comparator for anything but the natural order: PriorityQueue<IntArray>(compareBy { it[0] }). For a max-heap, PriorityQueue<Int>(compareByDescending { it }).
Use ArrayDeque (in kotlin.collections) for stacks and queues: addLast, removeFirst, removeLast.
List is read-only, not a mutable array. Use MutableList, or IntArray for fixed-size numeric work: IntArray(n) is a primitive array, while Array<Int> boxes every element and is slower on large inputs.
The collection helpers save real time. groupingBy { it }.eachCount() counts frequencies in one line, getOrPut builds adjacency lists, and sortedWith(compareBy({ it.first }, { it.second })) sorts on two keys. Interviewers generally accept these; be ready to say what each costs.
Int is 32-bit and overflows silently. Use Long for sums and products that can get large. Mind the ranges too: 0 until n excludes n, 0..n includes it, and n - 1 downTo 0 counts down.
Should you interview in Go, Rust or Kotlin?
If it's the language you write at work, usually yes: you'll make fewer syntax slips and talk through your code more naturally. Go and Kotlin are not much slower to write than Python once you can type a heap and the collection types without looking them up. Rust is a judgment call. If you're fluent it's fine, but practice lists and trees specifically, because that's where a Rust interview goes long. Whatever you choose, check with your recruiter that the company's interview editor supports it.
Frequently asked questions
What is the best coding interview prep platform for Go, Rust or Kotlin?
Firecode, if you want the help in your language as well as the editor. It supports all three among its 14 languages, with step-by-step hints written for each one and a learning engine that plans your sessions and brings solved problems back. It costs $59 a month or $288 for six months, with a 14-day free trial. LeetCode has the biggest problem bank in all three, most of it free, and HackerRank is where many companies run their online assessments.
Does LeetCode support Rust, Go and Kotlin?
Yes. LeetCode runs Go, Rust and Kotlin on current releases, and its Go environment includes the emirpasic/gods library.
Can I use Rust in a coding interview?
Usually, if the company's interview editor supports it; check with your recruiter. Practice linked list and tree problems in Rust specifically, because ownership makes them slower to write than in other languages.
Does Go have a heap or a set?
No built-in type for either. Use container/heap, which needs a type with Len, Less, Swap, Push and Pop, and a map[T]struct{} or map[T]bool for a set.
Is Kotlin good for coding interviews?
Yes. It's concise, its collection functions cut a lot of typing, and Java's PriorityQueue and other data structures are available. Use Long where an Int could overflow.
Does NeetCode have solutions in Go, Rust and Kotlin?
Yes. NeetCode's solutions repository on GitHub has Go, Rust and Kotlin among its 14 languages. The videos teach in Python.