Skip to content

Commit afb9ce4

Browse files
updated
1 parent 1881ef8 commit afb9ce4

40 files changed

Lines changed: 304 additions & 576 deletions

File tree

TimeComplexityCalculator/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<title>Time Complexity Calculator</title>
99
</head>
1010
<body>
11-
<input id="input" type="text" class="input" placeholder="Type something"/>
12-
<button id="button" onclick="printInput()">Print Input</button>
11+
<input id="input" type="text" class="input" placeholder="Paste Code here"/>
12+
<button id="button" onclick="printInput()">Get Ouput</button>
1313
<div class="codeinput" id="code"></div>
1414
<br>
1515
<div class="h2" id="explain1"></div>

TimeComplexityCalculator/script.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -157,37 +157,37 @@ if(time[c-1] == 'N1' && time[c-2] == "N2"){
157157

158158
if(time[c-1] == 'N1' && time[c-2] == "N2"){
159159
explaination1.innerHTML = str1.join(' ');
160-
explaination1.style.backgroundColor="yellow";
160+
explaination1.style.backgroundColor="black";
161161
explaination1.style.wordSpacing="5px";
162162
explaination2.innerHTML = str2.join(' ');
163-
explaination2.style.backgroundColor="yellow";
163+
explaination2.style.backgroundColor="black";
164164
explaination3.innerHTML = str3.join(' ');
165165
explaination4.innerHTML = str4.join(' ');
166166
explaination5.innerHTML = str5.join(' ');
167-
explaination5.style.backgroundColor="yellow";
167+
explaination5.style.backgroundColor="black";
168168
timearray.innerHTML = "<p>N*N + N = N^2 + N ~ N^2</p><p>Nested for Loops</p>";
169169
output.innerHTML = "<h1>O(N^2)</h1>";
170170

171171
}
172172

173173
else if(time.includes("N2") == true){
174174
explaination1.innerHTML = str1.join(' ');
175-
explaination1.style.backgroundColor="yellow";
175+
explaination1.style.backgroundColor="black";
176176
explaination1.style.wordSpacing="5px";
177177
explaination2.innerHTML = str2.join(' ');
178-
explaination2.style.backgroundColor="yellow";
178+
explaination2.style.backgroundColor="black";
179179
explaination3.innerHTML = str3.join(' ');
180180
explaination4.innerHTML = str4.join(' ');
181181
timearray.innerHTML = "<p>N*N = N^2</p><p>Nested for Loops</p>";
182182
output.innerHTML = "<h1>O(N^2)</h1>";
183183
}
184184
else if(time.includes("N2") == false && time.includes("N1") == true){
185185
explaination1.innerHTML = str1.join(' ');
186-
explaination1.style.backgroundColor="yellow";
186+
explaination1.style.backgroundColor="black";
187187
explaination2.innerHTML = str3.join(' ');
188188
if(n1 == 2){
189189
explaination3.innerHTML = str2.join(' ');
190-
explaination3.style.backgroundColor="yellow";
190+
explaination3.style.backgroundColor="black";
191191
explaination4.innerHTML = str4.join(' ');
192192
timearray.innerHTML = "<p>N+N ==>> 2N ~ N</p>";
193193
}

TimeComplexityCalculator/style.css

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
body{
2-
background-color: #0093E9;
3-
background-image: linear-gradient(160deg, #0093E9 0%, #80D0C7 100%);
2+
background-color: #252626;
3+
/* background-image: linear-gradient(160deg, #0093E9 0%, #80D0C7 100%); */
44
font-family:'Roboto', sans-serif;
55
}
66

@@ -83,9 +83,10 @@ body{
8383
}
8484
.h2{
8585
margin-top: 10px;
86-
font-size: 23px;
86+
font-size: 20px;
8787
width:600px;
8888
word-wrap: break-word;
89+
color: white;
8990
margin-left: 400px;
9091
word-spacing: 5px;
9192
}
@@ -100,11 +101,12 @@ body{
100101
justify-content: center;
101102
align-items: center;
102103
padding: 5px;
103-
background-color: rgb(66, 64, 64);
104-
color: rgb(0, 255, 30);
104+
color: white;
105+
/* background-color: rgb(66, 64, 64); */
106+
/* color: rgb(0, 255, 30); */
105107
}
106108
h1{
107109
padding: 5px;
108-
background-color: aliceblue;
109-
color: rgb(7, 7, 177);
110+
/* background-color: aliceblue; */
111+
color: white;
110112
}

bot/chat.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ body{
44
}
55
.interface{
66
background-color:rgb(49, 47, 58);
7-
border: 2px solid white;
7+
/* border: 2px solid white; */
88
/* border-bottom: 2px; */
99
width:100%;
1010
height:100%;
@@ -37,7 +37,7 @@ body{
3737
display: flex;
3838
width: 300px;
3939
height:100%;
40-
border: 2px solid rgb(229, 224, 224);
40+
/* border: 2px solid rgb(229, 224, 224); */
4141
position:fixed;
4242
}
4343
.newchat{
@@ -108,13 +108,13 @@ th{
108108
align-items: center;
109109
}
110110
.chat_input{
111-
margin-top: 50px;
112-
margin-left: 430px;
113111
width: 950px;
114112
height: 55px;
115113
display: flex;
116114
border: 1px solid white;
117115
position:fixed;
116+
bottom:3rem;
117+
left:28%;
118118
}
119119
input{
120120
font-size: 20px;
@@ -148,7 +148,7 @@ img{
148148
align-items: center;
149149
width:900px;
150150
height:auto;
151-
border: 2px solid rgb(38, 150, 18);
151+
/* border: 2px solid rgb(38, 150, 18); */
152152
border-bottom: none;
153153
margin-left: 430px;
154154
margin-top: 50px;
@@ -190,7 +190,7 @@ img{
190190
align-items: center;
191191
padding:5px;
192192
height:50px;
193-
border: 2px solid white;
193+
/* border: 2px solid white; */
194194
color: aliceblue;
195195
background-color: rgb(41, 41, 45);
196196
word-wrap: break-word;
@@ -207,7 +207,7 @@ img{
207207
/* padding:5px; */
208208
/* width: 900px; */
209209
height:auto;
210-
border: 1px solid white;
210+
border: 1px solid rgb(67, 67, 68);
211211
color: rgb(238, 241, 244);
212212
font-family: Verdana, Geneva, Tahoma, sans-serif;
213213
font-size:17px ;

bot/chat.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<button class="newchat" onclick="window.location.reload()" style="color: aliceblue;">New Chat</button>
1414
</nav>
1515
<div class="title">Chat Code</div>
16-
<div class="container1">
16+
<!-- <div class="container1">
1717
<table>
1818
<tbody>
1919
<tr>
@@ -33,7 +33,7 @@
3333
</tr>
3434
</tbody>
3535
</table>
36-
</div>
36+
</div> -->
3737
<div class="chat_input">
3838
<input class="userchat" type="text" name="chat" id="chat-input-box" placeholder="send a message....">
3939
<button id="chat-send-btn"><img src="image/external-send-instagram-flatart-icons-outline-flatarticons.png" alt=""></button>

countingsort/countingsort.mp4

-416 KB
Binary file not shown.

countingsort/index.html

Lines changed: 0 additions & 18 deletions
This file was deleted.

countingsort/style.css

Lines changed: 0 additions & 12 deletions
This file was deleted.

doubly-linkedList/index.css

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
body{
22
background-color: rgb(191, 215, 192);
3-
background-image:url(https://thumbs.gfycat.com/PleasantShadowyDuckbillplatypus-mobile.jpg);
3+
/* background-image:url(https://thumbs.gfycat.com/PleasantShadowyDuckbillplatypus-mobile.jpg); */
44
background-repeat: no-repeat;
55
background-size: cover;
66
}
@@ -117,12 +117,11 @@ button:active{
117117
justify-content: center;
118118
align-items: center;
119119
border-radius: 5px;
120-
border: 1px solid rgb(243, 115, 115);
121120
width: 400px;
122121
height: 120px;
123122
margin-top: 40px;
124123
margin-left: 200px;
125-
background-color:pink;
124+
background-color:rgb(87, 112, 120);
126125
color:rgb(43, 255, 15);
127126
}
128127
.user-input input{
@@ -181,7 +180,7 @@ button:active{
181180
margin-right:10px;
182181
width:auto;
183182
height:auto;
184-
border:2px solid rgb(25, 211, 32);
183+
/* border:2px solid rgb(25, 211, 32); */
185184
column-gap: 100px;
186185
/* overflow: auto;
187186
overflow:scroll;
@@ -192,7 +191,7 @@ button:active{
192191
align-items: center;
193192
width:92px;
194193
height:106px;
195-
border:2px solid rgb(25, 211, 32);
194+
/* border:2px solid rgb(25, 211, 32); */
196195
/* margin-left: 10px; */
197196
}
198197
.head{

doubly-linkedList/index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
<div id="bucket1" class="bucket"></div>
1414
<div id="pointer" class="pointer_path"></div>
1515
<div class="user-block">
16-
<div class="user-input"><input id="input" class="text" type="text" placeholder="Enter data here..." required><input id="input2" class="text" type="text" placeholder="Enter data here..." required></div>
16+
<div class="user-input">
17+
<input id="input" class="text" type="text" placeholder="Enter data here..." required>
18+
<input id="input2" class="text" type="text" placeholder="Enter data here..." required>
19+
</div>
1720
<div class="message" id="msg"></div>
1821
</div>
1922
<div class="control">

0 commit comments

Comments
 (0)