conventions.io

Tech Challenge

2026-07-29

🦫

Daily Tech Challenge

Go

medium
Question 1 of 5

What does this Go program print, given how path.Join treats its elements?

Example
package main

import (
	"fmt"
	"path"
)

func main() {
	fmt.Println(path.Join("a", "b", "..", "c"))
	fmt.Println(path.Join("/x/", "", "y/"))
}

Wednesday, July 29, 2026 · A new challenge drops every day