CommonLounge is a community of learners who learn together. Get started with the featured resources above, ask questions and discuss related stuff with everyone.
Tricks and Tweaks to code quickly and efficiently
This discussion is for expanding your array of maneuvers needed to code quickly and efficiently.
The first and most important thing that I'd like to discuss about is the C++ STL. Learning it would enable you to code up an assortment of algorithms and complicated data structures in a matter of seconds.
You can learn to use the C++ STL from the following amazing sites:
Studytonight : Contains syntax and examples for most of the STL containers and algorithms.
Sanfoundry : Shows how to implement what you've learnt in complete programs
Topcoder(Highly recommended) : This place teaches yo...
Hey there! I’m Sumeet Varma. I am extremely interested in Algorithms and Data Structures and so I do a lot of competitive programming. I am also a big fan of Counter-Strike, Politics and reading random answers on Quora.
My team (FruitSalad) came 1st in ACM ICPC ‘17 Kharagpur Regionals, 2nd in Kolkata Regionals and 7th in India Finals and we have qualified for World Finals. Also, I have been Red on Codeforces and the highest rated Indian programmer on Codeforces, Hackerrank and Topcoder in the past.
Currently, I am doing an internship at Directi (Bangalore) as a part of my project for final semester at DA-IICT, Gandhinagar.
Ask me anything!
Moderator note: We are very excited to host Sumeet for a Q&A session! He has a max rating of 2515 on Codeforces and 2173 on TopCoder, and you can see the graph going up consistently over the last 2.5 years. It's time to find out more about the person behind ...
Hi everyone, I recently discovered about competetive programming and since then i m spending all my time just watching videos or reading about algorithms. i found the basic algorithms very simple to understand and implement but I am having a hard time with understanding implementations of bfs, dfs and other similar topics. Maybe its because of my unfamiliarity with STL. I also recently discovered about IOI , I solved all the recent ZIO papers.I need some help regarding the use of basic stls like vector, maps etc and implementations of intermediate algorithms(with explanations). Also should i switch to java and is there any way to implement these algorithms without using stl?.Can i use a adjancency matrix instead of a list?
P.S- I plan to be able to start solving codeforces graph problems by 3 july .I am currently in 9th grade and really want to make it to the IOI.