Find Jobs
Hire Freelancers

A simple method in Java

$10-30 CAD

已完成
已发布超过 8 年前

$10-30 CAD

货到付款
This problem has to be done in 20hrs from now .so Toronto time Oct 12, 2015 at 10pm it will be expire. Social Network This problem involves abstractions such as graph algorithms: You are maintaining a social network site, and your task is to verify whether a site member is allowed to access the page of another site member. The members have defined their friendship relations, and they allow different types of access, some only to direct friends, some to friends of friends (and friends of friends of friends, and so on), which are called indirect friends. Input Description The input starts with a positive integer n, which is the number of members of the site. This line is followed by a line containing the string "Friendships:", followed by a list of name pairs, each describing a friendship relation. The list of friendships is followed by an empty line, and a line containing the string "Queries:", which is followed by queries, each containing two member names A and B, for which you need to check whether A has permissions to access the B's information. Member names do not contain white-space characters. Output Description For each query in the input, where A and B are the names in the query, produce one line of output, which can be one of the following three lines: direct access indirect access no access allowed depending on whether A is a direct friend of B, indirect friend, or neither of those. Sample Input 8 Friendships: Alice Bob Bob Charlie Charlie Dong Dong Eman Eman Bob Sidney Henrik Henrik Alex Queries: Bob Eman Sidney Alex Alex Charlie Sample Output: direct access indirect access no access allowed
项目 ID: 8665569

关于此项目

2提案
远程项目
活跃9 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Hello, I am a teaching assistant on the Algorithms at a local college. I already have Dijkstra algorithm implementation and I can have this done for you in 30 minutes. Please contact me with any questions or details. Cheers, Ddux
$15 CAD 在0天之内
5.0 (1条评论)
1.8
1.8
2威客以平均价$22 CAD来参与此工作竞价
用户头像
hello, I am expert in java. i can start this work from today onward. so please open your chat box and let me know.
$25 CAD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
Hi, Greetings of the day and thanks for sharing these details and allowing me to bid on this assignment. yes we have similar experience and can deliver u as u have mentioned in your requirements. we already have similar work experience and have worked on similar projects in the past and can deliver u as u have specified in your requirements I have checked your requirements. We have right skills to work on this assignment. We are a team of professionals including experienced analysts, designers, project managers, developers and QA people having great expertise in web applications development mainly on core PHP, PHP with open sources (Joomla, Wordpress, Codeigniter, Cake PHP), .NET, Asp.NET, Vb.NET, HTML 5 etc. and mobile applications on ios and Android platform. can u provide your contact details for further discussion about the project . . I am ready to discuss with you Regards
$25 CAD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
A proposal has not yet been provided
$28 CAD 在1天之内
0.0 (0条评论)
0.0
0.0

关于客户

CANADA的国旗
Toronto, Canada
5.0
2
付款方式已验证
会员自4月 24, 2010起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。