Comments (4)
Hi dey-dey,
The name of the file is: [input|output]_${creator}_${order}_${size}
.
In that specific case the creator was me. The order means that it was the first file of the group of files I created. The size is the input size.
That file has input size 5, so its contents for this specific assignment are all positive integers from 1 to 5 in an unsorted order.
I'm not sure if that answers your question. Let me know if it doesn't so I can clarify.
from stanford-algs.
Ah I see! I guess the readme is not correct. Is there any way to include the first/final/median comparison counts as well? It would be helpful for the course.
from stanford-algs.
We have separate inputs and outputs, so the input remains with the same type of contents you would find in the course's input. That way the algorithm someone designed for the course should work with these inputs without any change at all.
To find the expected results for each file, you can open the files with the names output_...
. For example, to find the expected results for input_dgrcode_01_5.txt
, you can read output_dgrcode_01_5.txt
.
If your plan is to test your code, I strongly recommend you use the testers in this repo. They can save you a good amount of time. Have a look here: https://github.com/beaunus/stanford-algs/tree/master/tester
from stanford-algs.
I'm sorry about the delay.
I have updated the relevant README to avoid confusion in the future.
Thank you @dey-dey for bringing this to our attention.
from stanford-algs.
Related Issues (20)
- Wrong testcase assertion HOT 3
- can you please test these dataset of counting an inversion HOT 1
- Test cases course 3 assignment2Clustering question 2 file name have two input sizes HOT 1
- Course 2, Week 1 (SCC) Test Cases are wrong HOT 5
- Floyd-Warshall Algorithm doesn't work with this test case. HOT 1
- Wrong testcase in stanford-algs/testCases/course2/assignment2Dijkstra/input_random_10_16.txt HOT 1
- 2.2 - Weird test data
- 1.1 has 2 improper test cases
- Course 1 Week 3 n=5 test case error? HOT 2
- Actually i found 20 min cut but it is not correct. I tried atleast 50 times but still not getting answer. Can you please help me out for this.
- Quick Sort test cases all passed for 3 options but submission failed HOT 1
- Week2 assignment is about undirected graph HOT 2
- output_random_32_1000.txt HOT 2
- Test Case 5_16 in Course 2 Week 1 Issue
- Course 4 week test case 12_8 HOT 1
- regarding the week 4 PA in divide and conquer course stanford university
- testCases/course2/assignment2Dijkstra/paths_random_20_64.txt has incorrect entries
- Incorrect output files for test cases in course2/assignment1SCC? HOT 1
- new issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stanford-algs.