Using the Q programming language, I explore different solutions for problem 1 of the Leet Code problem set.
Given an array of integers and a target, we must return the indices of the two numbers such that they add up to the target.
Problem:
Git Repo:
0:00 Problem Intro
1:04 Solution 1
9:55 Solution 2
19:28 Performance
20:54 Outro
Источник: rutube.ru