From 24186e8bd9d361e3c6dc3ccf6fa8c6b6b0b2c465 Mon Sep 17 00:00:00 2001 From: Lu Qi Date: Tue, 18 Nov 2014 21:46:24 +0800 Subject: [PATCH] fix mitbbs readme --- AlgorithmQuestions/mitbbs/README.md | 2 +- AlgorithmQuestions/mitbbs/is-a-tree/README.md | 3 +++ AlgorithmQuestions/mitbbs/is-a-tree/Solution.java | 0 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 AlgorithmQuestions/mitbbs/is-a-tree/README.md create mode 100644 AlgorithmQuestions/mitbbs/is-a-tree/Solution.java diff --git a/AlgorithmQuestions/mitbbs/README.md b/AlgorithmQuestions/mitbbs/README.md index 7001c36..f4318be 100644 --- a/AlgorithmQuestions/mitbbs/README.md +++ b/AlgorithmQuestions/mitbbs/README.md @@ -1 +1 @@ -These problems are come from site [mitbbs](http://www.mitbbs.com/bbsdoc/JobHunting.html) \ No newline at end of file +These problems are come from site [mitbbs](http://www.mitbbs.com/bbsdoc/JobHunting.html). \ No newline at end of file diff --git a/AlgorithmQuestions/mitbbs/is-a-tree/README.md b/AlgorithmQuestions/mitbbs/is-a-tree/README.md new file mode 100644 index 0000000..4655120 --- /dev/null +++ b/AlgorithmQuestions/mitbbs/is-a-tree/README.md @@ -0,0 +1,3 @@ +**Questions:** There some interface nodes which have a method getParent(). Now give you a collection of nodes, write a function to check these nodes can not compose a tree? + +**Solution:** First we choose a random node \ No newline at end of file diff --git a/AlgorithmQuestions/mitbbs/is-a-tree/Solution.java b/AlgorithmQuestions/mitbbs/is-a-tree/Solution.java new file mode 100644 index 0000000..e69de29