Code Samurai
A Practice Ground for Programmers
(Move to ...)
Home
About
▼
Sunday, May 8, 2011
Find Local Maximum of a Function Using Bisection Method
›
Question: implement the bisection method to find a function's local maximum. Solution: bisection is one of the root-finding methods ...
2 comments:
Tuesday, May 3, 2011
Determine the Height of Binary Trees
›
Question: given a root of a binary tree, write an algorithm to find the tree's height. Solution: the height of a binary tree is the ...
1 comment:
‹
›
Home
View web version