-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathindex.html
More file actions
1029 lines (941 loc) · 37.4 KB
/
index.html
File metadata and controls
1029 lines (941 loc) · 37.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Competitive Programming Guide - Placement Preparation</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
:root {
--primary-color: #2563eb;
--secondary-color: #1e40af;
--accent-color: #3b82f6;
--success-color: #10b981;
--warning-color: #f59e0b;
--danger-color: #ef4444;
--dark-color: #1f2937;
--light-color: #f8fafc;
--border-color: #e2e8f0;
--text-primary: #1e293b;
--text-secondary: #64748b;
--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
line-height: 1.6;
color: var(--text-primary);
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
}
.container {
max-width: 1400px;
margin: 0 auto;
padding: 20px;
}
.header {
text-align: center;
background: rgba(255, 255, 255, 0.98);
border-radius: 24px;
padding: 60px 40px;
margin-bottom: 40px;
box-shadow: var(--shadow-lg);
backdrop-filter: blur(10px);
}
.header h1 {
font-size: 3.5rem;
font-weight: 700;
margin-bottom: 16px;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.header .subtitle {
font-size: 1.5rem;
color: var(--text-secondary);
margin-bottom: 24px;
font-weight: 500;
}
.header .description {
font-size: 1.1rem;
color: var(--text-secondary);
margin-bottom: 32px;
max-width: 800px;
margin-left: auto;
margin-right: auto;
line-height: 1.7;
}
.badges {
display: flex;
justify-content: center;
gap: 20px;
flex-wrap: wrap;
margin-top: 32px;
}
.badge {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: white;
padding: 14px 28px;
border-radius: 50px;
text-decoration: none;
font-weight: 600;
font-size: 1rem;
transition: all 0.3s ease;
display: flex;
align-items: center;
gap: 8px;
box-shadow: var(--shadow);
}
.badge:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-lg);
filter: brightness(1.1);
}
.section {
background: rgba(255, 255, 255, 0.98);
border-radius: 20px;
padding: 40px;
margin-bottom: 40px;
box-shadow: var(--shadow-lg);
backdrop-filter: blur(10px);
}
.section h2 {
color: var(--primary-color);
margin-bottom: 32px;
font-size: 2.5rem;
font-weight: 700;
display: flex;
align-items: center;
gap: 16px;
}
.section h3 {
color: var(--secondary-color);
margin-bottom: 24px;
font-size: 1.8rem;
font-weight: 600;
}
.companies {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 24px;
margin: 32px 0;
}
.company-card {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: white;
padding: 32px 24px;
border-radius: 16px;
text-align: center;
font-weight: 600;
font-size: 1.1rem;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.company-card::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
transition: left 0.5s;
}
.company-card:hover::before {
left: 100%;
}
.company-card:hover {
transform: scale(1.05);
box-shadow: var(--shadow-lg);
}
.company-logo {
width: 48px;
height: 48px;
margin: 0 auto 16px;
background: rgba(255, 255, 255, 0.2);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
}
.concepts-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 24px;
}
.concept-card {
background: linear-gradient(135deg, #f8fafc, #e2e8f0);
border: 2px solid var(--border-color);
border-left: 6px solid var(--primary-color);
padding: 28px;
border-radius: 16px;
transition: all 0.3s ease;
position: relative;
}
.concept-card:hover {
transform: translateY(-8px);
box-shadow: var(--shadow-lg);
border-left-color: var(--accent-color);
}
.concept-card h3 {
color: var(--primary-color);
margin-bottom: 16px;
font-size: 1.4rem;
font-weight: 600;
}
.concept-card p {
color: var(--text-secondary);
line-height: 1.6;
font-size: 1rem;
}
.problems-table {
width: 100%;
border-collapse: collapse;
margin: 32px 0;
background: white;
border-radius: 12px;
overflow: hidden;
box-shadow: var(--shadow);
}
.problems-table th,
.problems-table td {
padding: 20px 24px;
text-align: left;
border-bottom: 1px solid var(--border-color);
}
.problems-table th {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: white;
font-weight: 600;
font-size: 1.1rem;
}
.problems-table tr:hover {
background-color: #f1f5f9;
}
.problems-table td:first-child {
font-weight: 600;
color: var(--primary-color);
width: 60px;
}
.problems-table a {
color: var(--primary-color);
text-decoration: none;
font-weight: 500;
transition: color 0.3s ease;
}
.problems-table a:hover {
color: var(--secondary-color);
text-decoration: underline;
}
.roadmap {
background: linear-gradient(135deg, #1e293b, #334155);
color: #e2e8f0;
padding: 32px;
border-radius: 16px;
font-family: 'Fira Code', 'Courier New', monospace;
white-space: pre-line;
overflow-x: auto;
font-size: 1rem;
line-height: 1.8;
box-shadow: var(--shadow-lg);
}
.tips-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
margin: 32px 0;
}
.tip-card {
background: linear-gradient(135deg, var(--success-color), #059669);
color: white;
padding: 24px;
border-radius: 16px;
text-align: center;
font-weight: 500;
transition: all 0.3s ease;
}
.tip-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-lg);
}
.tip-card strong {
display: block;
font-size: 1.2rem;
margin-bottom: 8px;
font-weight: 600;
}
.emergency-tips {
background: linear-gradient(135deg, var(--warning-color), #d97706);
color: white;
padding: 32px;
border-radius: 16px;
margin-top: 32px;
}
.emergency-tips h4 {
margin-bottom: 20px;
font-size: 1.4rem;
display: flex;
align-items: center;
gap: 12px;
}
.emergency-tips ul {
list-style: none;
padding: 0;
}
.emergency-tips li {
margin-bottom: 12px;
padding-left: 24px;
position: relative;
font-size: 1.1rem;
}
.emergency-tips li::before {
content: '⚡';
position: absolute;
left: 0;
font-size: 1.2rem;
}
.personal-note {
background: linear-gradient(135deg, var(--danger-color), #dc2626);
color: white;
padding: 48px;
border-radius: 20px;
text-align: center;
font-size: 1.2rem;
line-height: 1.8;
box-shadow: var(--shadow-lg);
}
.personal-note h2 {
margin-bottom: 24px;
font-size: 2.2rem;
}
.personal-note p {
margin-bottom: 20px;
}
.footer {
text-align: center;
padding: 48px;
background: rgba(255, 255, 255, 0.98);
border-radius: 20px;
margin-top: 40px;
box-shadow: var(--shadow-lg);
}
.footer h3 {
color: var(--primary-color);
margin-bottom: 24px;
font-size: 1.8rem;
}
.language-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 24px;
margin: 32px 0;
}
.language-card {
background: linear-gradient(135deg, #6366f1, #8b5cf6);
color: white;
padding: 32px;
border-radius: 16px;
transition: all 0.3s ease;
}
.language-card:hover {
transform: translateY(-6px);
box-shadow: var(--shadow-lg);
}
.language-card h4 {
font-size: 1.4rem;
margin-bottom: 16px;
display: flex;
align-items: center;
gap: 12px;
}
.language-card ul {
list-style: none;
padding: 0;
}
.language-card li {
margin-bottom: 8px;
padding-left: 20px;
position: relative;
}
.language-card li::before {
content: '▶';
position: absolute;
left: 0;
color: rgba(255, 255, 255, 0.8);
}
.platforms-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin: 32px 0;
}
.platform-card {
background: white;
border: 2px solid var(--border-color);
padding: 24px;
border-radius: 16px;
text-align: center;
transition: all 0.3s ease;
text-decoration: none;
color: var(--text-primary);
}
.platform-card:hover {
border-color: var(--primary-color);
transform: translateY(-4px);
box-shadow: var(--shadow-lg);
}
.platform-icon {
font-size: 2.5rem;
margin-bottom: 16px;
color: var(--primary-color);
}
@media (max-width: 768px) {
.header h1 {
font-size: 2.5rem;
}
.container {
padding: 16px;
}
.section {
padding: 24px;
}
.header {
padding: 40px 24px;
}
.badges {
flex-direction: column;
align-items: center;
}
.concepts-grid,
.companies {
grid-template-columns: 1fr;
}
}
.scroll-to-top {
position: fixed;
bottom: 30px;
right: 30px;
background: var(--primary-color);
color: white;
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
opacity: 0;
visibility: hidden;
z-index: 1000;
}
.scroll-to-top.visible {
opacity: 1;
visibility: visible;
}
.scroll-to-top:hover {
background: var(--secondary-color);
transform: translateY(-4px);
}
</style>
</head>
<body>
<div class="container">
<!-- Header -->
<div class="header">
<h1><i class="fas fa-rocket"></i> Competitive Programming Guide</h1>
<p class="subtitle">Basic Placement Preparation for Indian Students</p>
<p class="description">Having been through many coding assessments and interviews, I've noticed some key concepts and problems repeat themselves. Whether you're preparing for university placements or coding interviews at MNCs and startups, this guide covers the most common topics you'll encounter.</p>
<div class="badges">
<a href="https://leetcode.com/explore/interview/card/top-interview-questions-easy/" class="badge">
<i class="fas fa-code"></i> LeetCode Practice
</a>
<a href="https://www.hackerrank.com/" class="badge">
<i class="fas fa-laptop-code"></i> HackerRank
</a>
<a href="https://www.geeksforgeeks.org/" class="badge">
<i class="fas fa-book"></i> GeeksforGeeks
</a>
</div>
</div>
<!-- Target Companies -->
<div class="section">
<h2><i class="fas fa-building"></i> Target Companies</h2>
<h3>Mass Recruitment Companies</h3>
<div class="companies">
<div class="company-card">
<div class="company-logo">
<img src="https://logo.clearbit.com/tcs.com" alt="TCS" style="width: 100%; height: 100%; object-fit: contain; border-radius: 8px;" onerror="this.style.display='none'; this.nextElementSibling.style.display='flex';">
<i class="fas fa-building" style="display: none;"></i>
</div>
TCS (Tata Consultancy Services)
</div>
<div class="company-card">
<div class="company-logo">
<img src="https://logo.clearbit.com/wipro.com" alt="Wipro" style="width: 100%; height: 100%; object-fit: contain; border-radius: 8px;" onerror="this.style.display='none'; this.nextElementSibling.style.display='flex';">
<i class="fas fa-building" style="display: none;"></i>
</div>
Wipro
</div>
<div class="company-card">
<div class="company-logo">
<img src="https://logo.clearbit.com/ibm.com" alt="IBM" style="width: 100%; height: 100%; object-fit: contain; border-radius: 8px;" onerror="this.style.display='none'; this.nextElementSibling.style.display='flex';">
<i class="fas fa-building" style="display: none;"></i>
</div>
IBM
</div>
<div class="company-card">
<div class="company-logo">
<img src="https://logo.clearbit.com/infosys.com" alt="Infosys" style="width: 100%; height: 100%; object-fit: contain; border-radius: 8px;" onerror="this.style.display='none'; this.nextElementSibling.style.display='flex';">
<i class="fas fa-building" style="display: none;"></i>
</div>
Infosys
</div>
<div class="company-card">
<div class="company-logo">
<img src="https://logo.clearbit.com/techmahindra.com" alt="Tech Mahindra" style="width: 100%; height: 100%; object-fit: contain; border-radius: 8px;" onerror="this.style.display='none'; this.nextElementSibling.style.display='flex';">
<i class="fas fa-building" style="display: none;"></i>
</div>
Tech Mahindra
</div>
<div class="company-card">
<div class="company-logo">
<img src="https://logo.clearbit.com/cognizant.com" alt="Cognizant" style="width: 100%; height: 100%; object-fit: contain; border-radius: 8px;" onerror="this.style.display='none'; this.nextElementSibling.style.display='flex';">
<i class="fas fa-building" style="display: none;"></i>
</div>
Cognizant
</div>
<div class="company-card">
<div class="company-logo">
<img src="https://logo.clearbit.com/capgemini.com" alt="Capgemini" style="width: 100%; height: 100%; object-fit: contain; border-radius: 8px;" onerror="this.style.display='none'; this.nextElementSibling.style.display='flex';">
<i class="fas fa-building" style="display: none;"></i>
</div>
Capgemini
</div>
<div class="company-card">
<div class="company-logo">
<img src="https://logo.clearbit.com/hcltech.com" alt="HCL" style="width: 100%; height: 100%; object-fit: contain; border-radius: 8px;" onerror="this.style.display='none'; this.nextElementSibling.style.display='flex';">
<i class="fas fa-building" style="display: none;"></i>
</div>
HCL Technologies
</div>
<div class="company-card">
<div class="company-logo">
<img src="https://logo.clearbit.com/accenture.com" alt="Accenture" style="width: 100%; height: 100%; object-fit: contain; border-radius: 8px;" onerror="this.style.display='none'; this.nextElementSibling.style.display='flex';">
<i class="fas fa-building" style="display: none;"></i>
</div>
Accenture
</div>
</div>
</div>
<!-- Top 10 Concepts -->
<div class="section">
<h2><i class="fas fa-fire"></i> Top 10 Must-Know Concepts</h2>
<div class="concepts-grid">
<div class="concept-card">
<h3>1. Recursion</h3>
<p>Breaking a problem into smaller sub-problems with base condition. Asked in 80% interviews.</p>
</div>
<div class="concept-card">
<h3>2. Sliding Window</h3>
<p>Efficiently solving subarray problems by maintaining a window. Very common in arrays.</p>
</div>
<div class="concept-card">
<h3>3. String Manipulation</h3>
<p>Operations like reverse, substring, anagram detection. Basic requirement.</p>
</div>
<div class="concept-card">
<h3>4. BFS (Breadth-First Search)</h3>
<p>Layer-wise graph traversal for shortest path problems.</p>
</div>
<div class="concept-card">
<h3>5. DFS (Depth-First Search)</h3>
<p>Deep exploration in graphs/trees for connected components.</p>
</div>
<div class="concept-card">
<h3>6. Dynamic Programming (DP)</h3>
<p>Optimizing recursive problems by caching results.</p>
</div>
<div class="concept-card">
<h3>7. Greedy Algorithms</h3>
<p>Making best local decision at each step.</p>
</div>
<div class="concept-card">
<h3>8. Two Pointer Technique</h3>
<p>Working with sorted arrays using two index pointers.</p>
</div>
<div class="concept-card">
<h3>9. Backtracking</h3>
<p>Trying solutions recursively, undoing if necessary.</p>
</div>
<div class="concept-card">
<h3>10. Binary Search</h3>
<p>Searching in sorted array by dividing search space.</p>
</div>
</div>
</div>
<!-- Must-Solve Problems -->
<div class="section">
<h2><i class="fas fa-target"></i> 15 Must-Solve LeetCode Problems</h2>
<table class="problems-table">
<thead>
<tr>
<th>#</th>
<th>Concept</th>
<th>Problem & Link</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td><strong>Recursion</strong></td>
<td><a href="https://leetcode.com/problems/maximum-depth-of-binary-tree">Max Depth Binary Tree - Problem 104</a></td>
</tr>
<tr>
<td>2</td>
<td><strong>Sliding Window</strong></td>
<td><a href="https://leetcode.com/problems/longest-substring-without-repeating-characters">Longest Substring Without Repeat - Problem 3</a></td>
</tr>
<tr>
<td>3</td>
<td><strong>String Manipulation</strong></td>
<td><a href="https://leetcode.com/problems/longest-palindromic-substring">Longest Palindrome - Problem 5</a></td>
</tr>
<tr>
<td>4</td>
<td><strong>BFS</strong></td>
<td><a href="https://leetcode.com/problems/binary-tree-level-order-traversal">Level Order Traversal - Problem 102</a></td>
</tr>
<tr>
<td>5</td>
<td><strong>DFS</strong></td>
<td><a href="https://leetcode.com/problems/number-of-islands">Number of Islands - Problem 200</a></td>
</tr>
<tr>
<td>6</td>
<td><strong>DP</strong></td>
<td><a href="https://leetcode.com/problems/maximum-subarray">Maximum Subarray - Problem 53</a></td>
</tr>
<tr>
<td>7</td>
<td><strong>Greedy</strong></td>
<td><a href="https://leetcode.com/problems/jump-game">Jump Game - Problem 55</a></td>
</tr>
<tr>
<td>8</td>
<td><strong>Two Pointers</strong></td>
<td><a href="https://leetcode.com/problems/3sum">3 Sum Problem - Problem 15</a></td>
</tr>
<tr>
<td>9</td>
<td><strong>Backtracking</strong></td>
<td><a href="https://leetcode.com/problems/permutations">Permutations - Problem 46</a></td>
</tr>
<tr>
<td>10</td>
<td><strong>Binary Search</strong></td>
<td><a href="https://leetcode.com/problems/binary-search">Basic Binary Search - Problem 704</a></td>
</tr>
<tr>
<td>11</td>
<td><strong>Tree Traversal</strong></td>
<td><a href="https://leetcode.com/problems/binary-tree-inorder-traversal">Inorder Traversal - Problem 94</a></td>
</tr>
<tr>
<td>12</td>
<td><strong>OOP Java</strong></td>
<td><a href="https://leetcode.com/problems/lru-cache/">LRU Cache - Problem 146</a></td>
</tr>
<tr>
<td>13</td>
<td><strong>SQL</strong></td>
<td><a href="https://leetcode.com/problems/second-highest-salary">Second Highest Salary - Problem 176</a></td>
</tr>
<tr>
<td>14</td>
<td><strong>Stack</strong></td>
<td><a href="https://leetcode.com/problems/valid-parentheses">Valid Parentheses - Problem 20</a></td>
</tr>
<tr>
<td>15</td>
<td><strong>Greedy</strong></td>
<td><a href="https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons">Burst Balloons - Problem 452</a></td>
</tr>
</tbody>
</table>
</div>
<!-- DSA Roadmap -->
<div class="section">
<h2><i class="fas fa-map"></i> Complete DSA Roadmap</h2>
<div class="concepts-grid">
<div class="concept-card">
<h3>Basic Data Structures</h3>
<ul>
<li>Arrays</li>
<li>Strings</li>
<li>Linked Lists</li>
<li>Stacks</li>
<li>Queues</li>
</ul>
</div>
<div class="concept-card">
<h3>Advanced Data Structures</h3>
<ul>
<li>Trees
<ul>
<li>Binary Trees</li>
<li>Binary Search Trees</li>
<li>AVL Trees</li>
<li>B-Trees</li>
</ul>
</li>
<li>Graphs
<ul>
<li>Adjacency Matrix</li>
<li>Adjacency List</li>
<li>DFS & BFS</li>
<li>Shortest Path (Dijkstra, Bellman-Ford)</li>
</ul>
</li>
<li>Heaps</li>
<li>Hash Tables</li>
<li>Union-Find</li>
<li>Tries</li>
<li>Segment Tree</li>
</ul>
</div>
<div class="concept-card">
<h3>Algorithmic Paradigms</h3>
<ul>
<li>Brute Force</li>
<li>Divide and Conquer</li>
<li>Greedy Algorithms</li>
<li>Dynamic Programming</li>
<li>Backtracking</li>
<li>Sliding Window</li>
<li>Two Pointer Technique</li>
</ul>
</div>
</div>
</div>
<!-- Problem-Solving Tips -->
<div class="section">
<h2><i class="fas fa-lightbulb"></i> Problem-Solving Approach</h2>
<h3>Quick Hints - If you see:</h3>
<div class="tips-grid">
<div class="tip-card">
<strong>Sorted Array</strong>
Try: Binary Search, Two Pointers
</div>
<div class="tip-card">
<strong>All Permutations/Subsets</strong>
Try: Backtracking
</div>
<div class="tip-card">
<strong>Tree Given</strong>
Try: DFS, BFS
</div>
<div class="tip-card">
<strong>Graph Given</strong>
Try: DFS, BFS
</div>
<div class="tip-card">
<strong>Linked List</strong>
Try: Two Pointers
</div>
<div class="tip-card">
<strong>Max/Min Subarray</strong>
Try: Dynamic Programming
</div>
<div class="tip-card">
<strong>Top/Least K Items</strong>
Try: Heap, QuickSelect
</div>
<div class="tip-card">
<strong>Common Strings</strong>
Try: Map, Trie
</div>
</div>
<div class="emergency-tips">
<h4><i class="fas fa-exclamation-triangle"></i> Emergency Tips</h4>
<ul>
<li><strong>If everything fails</strong> → Try HashMap</li>
<li><strong>Start with</strong> → Brute Force approach</li>
<li><strong>Then optimize</strong> → Think of better time complexity</li>
<li><strong>Draw it out</strong> → Visualize the problem on paper</li>
<li><strong>Test with examples</strong> → Walk through your solution</li>
</ul>
</div>
</div>
<!-- Core Topics by Language -->
<div class="section">
<h2><i class="fas fa-code"></i> Core Topics by Language</h2>
<div class="language-cards">
<div class="language-card">
<h4><i class="fab fa-java"></i> Java</h4>
<ul>
<li>Multithreading & Concurrency</li>
<li>Exception Handling</li>
<li>Collections Framework</li>
<li>Design Patterns (Singleton, Factory)</li>
<li>Stream API</li>
<li>Memory Management</li>
</ul>
</div>
<div class="language-card">
<h4><i class="fab fa-js"></i> JavaScript</h4>
<ul>
<li>Closures & Scope</li>
<li>Promises & Async/Await</li>
<li>Event Loop</li>
<li>Array Methods</li>
<li>Object Prototypes</li>
<li>ES6+ Features</li>
</ul>
</div>
<div class="language-card">
<h4><i class="fas fa-database"></i> SQL</h4>
<ul>
<li>JOIN Operations</li>
<li>Aggregate Functions</li>
<li>Subqueries</li>
<li>Database Design</li>
<li>Normalization</li>
<li>Index Optimization</li>
</ul>
</div>
</div>
</div>
<!-- Practice Platforms -->
<div class="section">
<h2><i class="fas fa-laptop-code"></i> Practice Platforms</h2>
<div class="platforms-grid">
<a href="https://leetcode.com/" class="platform-card">
<div class="platform-icon"><i class="fas fa-code"></i></div>
<strong>LeetCode</strong>
<p>Best for interview prep</p>
</a>
<a href="https://www.hackerrank.com/" class="platform-card">
<div class="platform-icon"><i class="fas fa-laptop-code"></i></div>
<strong>HackerRank</strong>
<p>Company challenges</p>
</a>
<a href="https://www.geeksforgeeks.org/" class="platform-card">
<div class="platform-icon"><i class="fas fa-book"></i></div>
<strong>GeeksforGeeks</strong>
<p>Theory + Practice</p>
</a>
<a href="https://www.codechef.com/" class="platform-card">
<div class="platform-icon"><i class="fas fa-trophy"></i></div>
<strong>CodeChef</strong>
<p>Competitive programming</p>
</a>
<a href="https://codeforces.com/" class="platform-card">
<div class="platform-icon"><i class="fas fa-medal"></i></div>
<strong>Codeforces</strong>
<p>Contest platform</p>
</a>
<a href="https://www.interviewbit.com/" class="platform-card">
<div class="platform-icon"><i class="fas fa-user-tie"></i></div>
<strong>InterviewBit</strong>
<p>Interview focused</p>
</a>
</div>
</div>
<!-- Personal Note -->
<div class="personal-note">
<h2><i class="fas fa-heart"></i> Personal Note</h2>
<p><strong>Hey there! Just a little something from me to you..</strong></p>
<p>Be regular in your practice - that's the most important thing in our line of work. If I can do LeetCode medium problems today and then take a break from coding for 3-4 months, I won't even be able to handle LeetCode easy problems later.</p>
<p>So, whatever time you can spend on coding, make sure you spend it <strong>consistently</strong>. Participating in weekly contests on platforms like GeeksforGeeks, LeetCode, CodeChef, or Codeforces will give you a <strong>reality check</strong> on your speed and efficiency.</p>
<p><strong>All the very best for the upcoming placement season!</strong></p>
</div>
<!-- Footer -->
<div class="footer">
<h3>Made with ❤️ for Indian Students</h3>
<p><strong>Happy Coding! 🚀</strong></p>
<div style="margin-top: 32px;">
<a href="https://github.com/cu-sanjay" class="badge">
<i class="fab fa-github"></i> GitHub
</a>
<a href="https://leetcode.com" class="badge">
<i class="fas fa-code"></i> LeetCode
</a>
<a href="https://www.hackerrank.com" class="badge">
<i class="fas fa-laptop-code"></i> HackerRank
</a>
</div>
</div>
</div>
<!-- Scroll to Top Button -->
<div class="scroll-to-top" id="scrollToTop">
<i class="fas fa-arrow-up"></i>
</div>
<script>
// Scroll to top functionality
const scrollToTopBtn = document.getElementById('scrollToTop');
window.addEventListener('scroll', () => {
if (window.pageYOffset > 300) {
scrollToTopBtn.classList.add('visible');
} else {
scrollToTopBtn.classList.remove('visible');
}
});
scrollToTopBtn.addEventListener('click', () => {
window.scrollTo({
top: 0,
behavior: 'smooth'
});
});
// Smooth scrolling for internal links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
target.scrollIntoView({
behavior: 'smooth',
block: 'start'
});
}
});
});
// Intersection Observer for animations
const observerOptions = {
threshold: 0.1,
rootMargin: '0px 0px -50px 0px'
};