-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathblog1.html
More file actions
204 lines (173 loc) · 10.6 KB
/
Copy pathblog1.html
File metadata and controls
204 lines (173 loc) · 10.6 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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="logo.png">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<title>RetroCoders</title>
</head>
<body class=" text-white bg-dark">
<nav class="navbar navbar-expand-lg fixed-top navbar-dark bg-dark">
<div class="container-fluid">
<img src="logo.png" class="img-fluid rounded-circle" style="width: 40px; height: 40px;" alt="logo">
<a class="navbar-brand text-success ms-1" href="#">RetroCoders</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" aria-current="page" href="cover.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="blog.html">Blog</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown"
aria-expanded="false">
Dropdown
</a>
<ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="cp.html">Competitive Programming</a></li>
<li><a class="dropdown-item" href="ctf.html">Capture The Flag</a></li>
</ul>
</li>
</ul>
<form class="d-flex">
<input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success" type="submit">Search</button>
</form>
</div>
</div>
</nav>
<div class="p-4 mb-4 text-light bg-dark rounded pt-5 ps-5">
<h1 class="fst-italic text-center text-decoration-underline mt-2">Competitive Programming Blog</h1>
<img src="5.jfif" class="img-fluid mt-3 round" style="width: auto; height: auto;" alt="Competitive Programming">
</div>
<main clss="container-fluid bg-dark">
<div class="row g-5 ms-auto">
<div class="col-md-8">
<h3 class="pb-4 mb-4 fst-italic border-bottom">
From RetroCoders
</h3>
<article class="blog-post">
<h2 class="blog-post-title">Competitive Programming Blog</h2>
<p class="blog-post-meta">December 14, 2020 by <a href="#">farhan</a></p>
<p>Competitive Programming is a mind sport which held online or on a local network. In the conetst, there are
multiple question related to data structures, logic building, and many other topics. There many different
platforms who held these competition monthly or weekly.</p>
<p>Most of the people take it as a challenge but remember, this is sport not challenge. So for playing any kind
of sport, you need preparation. And many of you ask how to start and what we need to do in
Competitive Programming. That's why, I am writing this blog to provide a little help when ever you stuck.
</p>
<img src="blogImg1.jpg" class="img-fluid" style="width: auto; height: auto;" alt="Blogs">
<h2 class="blog-post-title"> How To Start?</h2>
<p>This question is common and usually asked by beginners in Competitive Programming. Without any talk and
delay, I quickly give my answer.</p>
<ul>
<li>First, you need to learn any one programming language which ever you like. There are many options like
JAVA, Python, C, C++, Ruby, Kotlin and many more. My personal recommendation is C++. Why? I explain it
later.</li>
<li>If you are totally new to programming and computer science, then take any free course of the programming
language on youtube and starting solving basic problems during the cousre. My first recommendation is
CodeWithHarry youtube channel. Remember, its your choice either take notes during the course or buy any
reference book for your quick review. </li>
<li>Try solving questions on hackerrank or GeeksforGeeks but after sometimes (usually 1 to 2 weeks) you need
to try solving questions on Codeforces or Codechef. Both platforms provide bundle of questions for
preparation.</li>
</ul>
<p>If any beginner doing these 3 tasks, then its sufficient for him/her to start its Programming journey.</p>
<h2 class="blog-post-title">What to do next?</h2>
<p>After this much of your programming journey, you encounter with an error which says to you <strong
class="text-danger"> "Time Limit Exceeded."</strong> This error shows that your logic is not sufficient to
run under time limit. Now, here you need to understand time complexity. Time complexity of program depends
upon two things-<strong> first, input of user and second, on program complexity.</strong> Now, you need to
learn data structures which is a very vast subject but important also.
<strong> The whole Data Structures are divied into two part- <ul>
<li>linear data structures</li>
<li>Non-linear data structures</li>
</ul>And all other data structure are futher declear in these two branches. Futher, you will also learn
about Algorithms where you learn modern technequies. </strong>
</p>
<img src="blogImg2.png" class="img-fluid" style="width: auto; height: auto;" alt="Blogs">
<h2 class="blog-post-title">References</h2>
<p>The above providede post is sufficient for the beginners to start their journey of programming. This block
of post provide references, tips and tricks for competitive programming.</p>
<p>NOTE: Try to take a look at once a day because I will try to update this block regularly for tips and
tricks. </p>
<p><strong>Tips:</strong>
<ul>
<li>Try to solve atleast one question a day and try to give a active attention towards programming.</li>
<li>Try to see other's code for better understanding of logic building and code complexity.</li>
</ul>
<strong>Tricks:</strong>
<ul>
<li>If you use C++ for competitive programming, try to learn and use STL (Standard Template Library).</li>
<li>If you are using VS code for programming, then use USER SNIPPETS.</li>
</ul>
<strong>References:</strong>
<ul>
<li><a href="https://drive.google.com/file/d/1FbhdxFsBwpxaqi1m7RVJ5G0dPufXSzIq/view?usp=sharing">Quick Reference Guide for C by tutorialspoit.</a></li>
<li><a href="https://drive.google.com/file/d/1o-Yk7SMNIRmlWWvB37l2HEs32i47zgco/view?usp=sharing">Cheatsheet for STL by Karan Saxena(Github)</a></li>
</ul>
</p>
<h2 class="blog-post-title">Final Words</h2>
<p>I know this blog have nothing right now but I promise to update this blog with more topics. Try to take look regularly for updates.</p>
</article>
</div>
<div class="col-md-4">
<div class="position-sticky mt-5" style="top: 2rem;">
<div class="p-4 mb-3 bg-secondary rounded ">
<h4 class="fst-italic">Quote Of The Day</h4>
<p class="mb-0">"Everybody in this country should learn to program a computer, because it teaches you how to think."<strong> - STEVE JOBS</strong></p>
</div>
<!--div class="p-4 mb-3 bg-black rounded mt-3 ">
<h4 class="fst-italic">Need Help?</h4>
<p class="mb-0">I have a written a blog for Competitive Programming on this website. It will provide you1
basic building blocks and some tips and tricks.
<a href="blog1.html"> Try this out</a> or you can message me on github for any kind of question.
</p>
</div-->
<!--div class="p-4">
<h4 class="fst-italic">Archives</h4>
<ol class="list-unstyled mb-0">
<li><a href="#">March 2021</a></li>
<li><a href="#">February 2021</a></li>
<li><a href="#">January 2021</a></li>
<li><a href="#">December 2020</a></li>
<li><a href="#">November 2020</a></li>
<li><a href="#">October 2020</a></li>
<li><a href="#">September 2020</a></li>
<li><a href="#">August 2020</a></li>
<li><a href="#">July 2020</a></li>
<li><a href="#">June 2020</a></li>
<li><a href="#">May 2020</a></li>
<li><a href="#">April 2020</a></li>
</ol>
</div-->
</div>
</div>
</div>
<hr>
</main>
<footer class="mt-1 text-white-50">
<p class="text-center">RetroCoders blogs and tutorials. <a href="#" class="text-success">@RetroCoders</a> by <a href="#"
class="text-success">@farhan</a></p>
</footer>
<!-- Optional JavaScript; choose one of the two! -->
<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script>
<!-- Option 2: Separate Popper and Bootstrap JS -->
<!--
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js" integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.min.js" integrity="sha384-cVKIPhGWiC2Al4u+LWgxfKTRIcfu0JTxR+EQDz/bgldoEyl4H0zUF0QKbrJ0EcQF" crossorigin="anonymous"></script>
-->
</body>
</html>