Techie#config terminal
Entering IP, MPLS and Telecom fundas learning mode ..
Home
Business
Internet
Market
Stock
Management Plane
SNMP
Netconf
YANG
Office
Routing protocols
Child Category 1
BGP
OSPF
ISIS
Child Category 2
Child Category 3
Child Category 4
Featured
QOS
Childcare
Doctors
Uncategorized
Saturday, March 24, 2012
Write anagram generator?
5:47 PM
Anagram generator
,
puzzles
No comments
Lets use erlang to solve it
-module(anagram).
-compile([export_all]).
anagram([ ]) -> [ [ ]];
anagram(L) -> [[H|T] || H <- L, T <- anagram(L -- [H])].
Email This
BlogThis!
Share to X
Share to Facebook
Older Post
Home
0 comments:
Post a Comment
Social Profiles
Popular
Tags
Blog Archives
Popular Posts
Find the height of a binary tree
Lets us write an algorithm to find the height of a binary tree in c //Define Binary tree node struct BTreeNode { struct BTre...
Write anagram generator?
Lets use erlang to solve it -module(anagram). -compile([export_all]). anagram([ ]) -> [ [ ]]; anagram(L) -> [[H|T] || H ...
Find the diameter of a binary tree
Diameter of a binary tree Diameter of a tree is the maximum distance between any of its two nodes. In the above diagram the nodes us...
Total Pageviews
About Me
vishnu
View my complete profile
Labels
Anagram generator
(1)
binary trees
(2)
puzzles
(1)
trees
(2)
Blog Archive
▼
2012
(3)
▼
March
(3)
Write anagram generator?
Find the height of a binary tree
Find the diameter of a binary tree
Download
Categories
Anagram generator
(1)
binary trees
(2)
puzzles
(1)
trees
(2)
0 comments:
Post a Comment