From 34a0aee2e01d20c14b5d6d4665a0a7e38766c9d2 Mon Sep 17 00:00:00 2001 From: Avi-17 Date: Sun, 26 May 2024 12:03:45 +0530 Subject: [PATCH] adds skip packaging option --- README.md | 4 ++-- js1.html | 1 + sort.html | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) 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 @@

4. Greatest Common Divisor

fancy algorithm

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];