2023 Given a directory containing say a few thousand files please output a list of all the names | Assignment Collections
Computer Science 2023 Please Provide A Written Discussion Of Code, What Are Its Strengths And Weaknesses, What Are The Boundary Conditions Where It Will Fail And Where Could It Be Improved
2023 Given a directory containing say a few thousand files please output a list of all the names | Assignment Collections
Given a directory containing say a few thousand files, please output a list of all the names of the files in the directory that are exactly the same, i.e. have the same contents.
func(a_directory_name) output -> {“matches”: [[fn1, fn2 …], [fn3, fn4 …] … ]}
e.g. func(“/home/my/files”) where the directory /home/my/files might contain foo.txt, foo.iso, foo.jpeg, bar.txt, bar.doc, baz.csv, baz.ppt etc. and say the file foo.txt is the same as bar.doc and foo.iso is the same as baz.csv and baz.ppt then the output would be:
{
“matches”: [
[
“foo.txt”,
“bar.doc”
],
[
“foo.iso”,
“baz.csv”,
“baz.ppt”
]
]
}
You may code the response in any programming language you like, however our primary languages are:
· Bash
· Perl
· Python
· Groovy
Please provide a written discussion of your code, what are its strengths and weaknesses, what are the boundary conditions where it will fail and where could it be improved
We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.
Place Order Now

