Sobes.tech
Senior

// Zaimplementuj autouzupełnianie dla filmów: // wyświetl top-3 dopasowań w porządku alfabetycznym dla pierwszych 3+ wpisanych liter. // ["macarthur", "interstellar", "intrusion", "macao", "into the abyss", "internship"] // me -> [] // mac -> ["macao", "macarthur", "machinist"] // int -> ["internship", "interstellar", "into the abyss"] // interstellar -> ["interstellar"] // intr -> ["intrusion"] // intrusion -> ["intrusion"] // into -> ["into the abyss"] // stellaris -> [] package main func main() {}

sobes.tech AI

Odpowiedź od AI

Ten kod implementuje autouzupełnianie na podstawie pierwszych 3 lub więcej liter, zwracając do trzech dopasowań w porządku alfabetycznym.