diff --git a/README.md b/README.md index 60debd6..4f2f209 100644 --- a/README.md +++ b/README.md @@ -168,7 +168,7 @@ __________________ -## [html: Basic Questions for Begginers](http://www.thatjsdude.com/interview/html.html) +## [html: Basic Questions for Beginners](http://www.thatjsdude.com/interview/html.html) 15 basic questions and asnwers ______ @@ -219,4 +219,4 @@ __________________ 4. Graph and high order data structure in JavaScript ___________________ -Inpsired by, [darcyclarke](https://github.com/darcyclarke/Front-end-Developer-Interview-Questions), [css-tricks](http://css-tricks.com/interview-questions-css/), [david shariff](https://gist.github.com/jesspoemape/87665d65cde3980485ec27cef1602a0d) and some google results. If you want to add any question to this let me know. +Inpsired by, [darcyclarke](https://github.com/darcyclarke/Front-end-Developer-Interview-Questions), [css-tricks](http://css-tricks.com/interview-questions-css/), [david shariff] and some google results. If you want to add any question to this let me know. diff --git a/js1.html b/js1.html index 80ce618..ddfbdbc 100644 --- a/js1.html +++ b/js1.html @@ -268,6 +268,7 @@
Sorry. can't explain it. As i myself dont understand it 80% of the times. my algorithm analysis instructor told about this and stole if from class note (i am a good student, btw!)
+Here's the link to learn about Euclidean Algo Euclidean Algorithm
function greatestCommonDivisor(a, b){
if(b == 0)
diff --git a/sort.html b/sort.html
index c3592b3..c2ad697 100644
--- a/sort.html
+++ b/sort.html
@@ -178,6 +178,7 @@ Insertion sort
for(i = 1; i<len; i++){
el = arr[i];
j = i;
+ toInsert = el;
while(j>0 && arr[j-1]>toInsert){
arr[j] = arr[j-1];