File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ (define (linear-search number num-list)
2+ (if (member number num-list)
3+ (get-num-index number num-list 0 )
4+ -1 ))
5+
6+ (define (get-num-index number num-list index)
7+ (if (= number (first num-list))
8+ index
9+ (get-num-index number (rest num-list) (+ index 1 ))))
Original file line number Diff line number Diff line change @@ -41,9 +41,9 @@ Inverse Fast Fourier Transform | | | | | :+1: | | | |
4141Johnson algorithm | :+1 : | :+1 : | | | :+1 : | | | |
4242Kadane's algorithm | :+1 : | :+1 : | | :+1 : | :+1 : | :+1 : | :+1 : | |
4343Knuth Morris Prath Algorithm | :+1 : | :+1 : | | | :+1 : | | | |
44- LinearSearch | :+1 : | :+1 : | : +1 : | :+1 : | :+1 : | :+1 : | :+1 : | | | :+1 : | | :+1 : |
45- Longest common subsequence | :+1 : | :+1 : | | :+1 : | :+1 : | | | | :+1 :
46- Longest increasing subsequence | :+1 : | :+1 : | | | :+1 : | | | |
44+ LinearSearch | :+1 : | :+1 : | | :+1 : | :+1 : | :+1 : | :+1 : | | | :+1 : |:+1 : |
45+ Longest-Common-Subsequence | :+1 : | :+1 : | | :+1 : | :+1 : | | | | :+1 :
46+ Longest-Increasing-Subsequence | :+1 : | :+1 : | | | :+1 : | | | |
4747LongestPath | | | | | :+1 : | | | |
4848MergeSort | :+1 : | :+1 : | | :+1 : | :+1 : | :+1 : | :+1 : | :+1 : | | :+1 :
4949MiniMax with alpha–beta pruning | :+1 : | | | | | | | |
You can’t perform that action at this time.
0 commit comments