Tag: algorithm
A Binary Search Tree (BST) is a binary tree that satisfies the following requirements: The value of a parent node is bigger than all values of its left sub …
You are given an array x of n positive numbers. You start at point (0,0) and moves x metres to the north, then x metres to the west, x …
Machine learning is very popular nowadays. Everybody claims that they are doing it 🙂 This tutorial will try to explain a few terms in the field of machine learning …
Leetcode Online Judge: https://leetcode.com/problems/nim-game/ You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take …
Background I was asked by my manager to optimize a piece of code that has been in the code repository for like 4 years. Actually, that particular piece of …