Comments (3)
From Algo.js of Google Code on October 16, 2013 09:44:25
still failed in following input in revision da291ac
8
1 2
2 3
3 1
3 4
5 4
6 4
8 6
6 7
7 8
Answer: 3,3,1,1,0, Failed in T
14
1 9
1 7
2 6
3 6
4 1
4 6
14 2
6 3
7 9
9 4
3 1
Answer: 6,1,1,0,0, Failed in T
11
1 4
4 3
3 1
4 6
6 7
6 10
10 11
11 10
7 6
2 5
5 2
5 7
5 8
8 9
7 11
Answer: 3,2,2,2,1 the 6th value is also a 1, 7th is 0, Failed in T
// http://algs4.cs.princeton.edu/42directed/mediumDG.txt
info = line.split(' ')
.filter(function(x){return x.length;})
.map(function(x){
return (+(x.replace(/^\s\s*/, '').replace(/\s\s*$/, '')));
});
gh.__pushEdge__(info[0]+1, info[1]+1);
Failed in T
Status: Started
from algo-js.
From Algo.js of Google Code on October 17, 2013 02:50:04
improved on revision 87edee2 to pass test above except mediumDG.txt and following test:
12
1 2
2 3
2 4
2 5
3 6
4 5
4 7
5 2
5 6
5 7
6 3
6 8
7 8
7 10
8 7
9 7
10 9
10 11
11 12
12 10
from algo-js.
From Algo.js of Google Code on October 18, 2013 02:20:20
proudly fixed in revision 4542b93 , and verified to pass the test of a graph containing over 870000 vertex.
Status: Fixed
from algo-js.
Related Issues (20)
- logical error of Sorting.isSorted(arr) HOT 1
- improvement for time test of sorting HOT 2
- fn and compare function in sorting should be merged into one HOT 2
- graph properties should distinguish the number of vertex and the number of the valid vertex HOT 1
- the lable of vertex should apply some rules for representing different meanings HOT 3
- unit test for graph build, graph search should be written out asap HOT 1
- improvement for numeric validation
- add take(), skip() for array extension HOT 1
- more graph properties validation should be implemented HOT 1
- quick sort for an array with length 359032 from scc data is slow HOT 2
- error should be thrown from where it occurs, instead of being constructed in constructor HOT 1
- deletion of cloned graph should be applied in graph algorithm HOT 1
- UnionFind should be merged into T HOT 1
- unit test through reading input file should be implemented HOT 2
- potential out of range in WeightedQuickUnion HOT 1
- topological sort failed at an instance HOT 1
- Factory Pattern should be introduced for all constructors
- mapped data structure should be same as the original data structrue
- Dijkstra test failed after converting to ES 6
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 algo-js.