Monday, August 21, 2017
Monday, August 14, 2017
Partitioning and sorting array with many repeated entries
Sunday, August 13, 2017
Compute the Levenshtein distance
Find the longest nondecreasing subsequence
Compute the binomial coefficient
Search for a sequence in 2D array
Count the number of moves to climb stair
Saturday, August 12, 2017
Compute the right sibling tree
Write a program that computes exterior of binary tree
Calculate binary tree from preorder and inorder traversal
Reconstruct a binary tree from preorder traversal with mark
Implement an inorder traversal with o(1) space
Compute the kth node in an inorder traversal
Implement locking in a binary tree
Sum the root-to-leaf paths in a binary tree
Friday, August 11, 2017
Find the smallest subarray sequentially covering all values
Count the number of score combinations
Wednesday, August 9, 2017
Tuesday, August 8, 2017
Check if a decimal integer is a palindrome
Find a closest integer with the same weight
Monday, August 7, 2017
Thursday, August 3, 2017
Create list of leaf nodes in left to right order
Find a root to leaf path with specified sum
Compute the lowest common ancestor in a binary tree
Compute the LCA when nodes have parent pointers
Test whether a singly linked list is palindromic
Implement cyclic right shift for singllly linked list
Wednesday, August 2, 2017
Tuesday, August 1, 2017
Subscribe to:
Posts (Atom)