File tree 2 files changed +37
-0
lines changed
2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 22
22
Most of the problems are solved by using the <a href="https://github.com/alexprut/Algo">Algo</a> library.
23
23
</td>
24
24
</tr >
25
+ <tr >
26
+ <td>
27
+ <a href="https://github.com/alexprut/LeetCode">
28
+ <img src="https://github.com/alexprut/LeetCode/raw/master/leetcode-logo.png" width="80" height="auto"/>
29
+ </a>
30
+ </td>
31
+ <td>
32
+ Solutions to <a href="https://github.com/alexprut/LeetCode">LeetCode</a> problems.
33
+ </td>
34
+ </tr>
35
+ <tr>
36
+ <td>
37
+ <a href="https://github.com/alexprut/InterviewBit">
38
+ <img src="https://github.com/alexprut/InterviewBit/raw/master/interviewbit-logo-small.png" width="80" height="auto"/>
39
+ </a>
40
+ </td>
41
+ <td>
42
+ Solutions to <a href="https://github.com/alexprut/InterviewBit">InterviewBit</a> problems.
43
+ </td>
44
+ </tr>
25
45
</table >
26
46
27
47
The problem solutions and implementations are entirely provided by [ Alex Prut] ( https://www.hackerrank.com/alexprut ) .
Original file line number Diff line number Diff line change
1
+ function getList ( domain , subDomain ) {
2
+ $ ( '.challenge-list-item' ) . each ( function ( index ) {
3
+ var item = $ ( this )
4
+ var title = item . find ( '.challengecard-title' )
5
+ . clone ( )
6
+ . children ( )
7
+ . remove ( )
8
+ . end ( )
9
+ . text ( )
10
+ var difficulty = item . find ( ".difficulty" ) . text ( ) ;
11
+ var score = item . find ( ".max-score" ) . text ( ) . replace ( "Max Score: " , "" ) ;
12
+ var link = "https://www.hackerrank.com" + item . attr ( "href" ) ;
13
+ console . log (
14
+ "|" + subDomain + "|[" + title + "](" + link + ")|" + difficulty + "|" + score + "|[Solution.java](" + domain + "/" + subDomain + "/" + title + "/Solution.java)|"
15
+ )
16
+ } )
17
+ }
You can’t perform that action at this time.
0 commit comments