Construct Binary Tree from Preorder and Inorder Traversal

My Java solution to LeetCode problem #105: Given preorder and inorder traversal of a tree, construct the binary tree. You...

Java tip: String.format() might have an impact on your performance

When writing to a file in Java (8), it is quite usual to see the following: try (final BufferedWriter writer...

Median of Two Sorted Arrays

My C# solution to LeetCode problem #4: There are two sorted arrays nums1 and nums2 of size $m$ and \$...

Bit vs byte and metric vs binary prefix

Everyone with a bit of computer science education knows the difference between a bit and a byte: 1 byte consists...