Skip to content

Instantly share code, notes, and snippets.

@Rishabh04-02
Last active June 2, 2018 07:41
Show Gist options
  • Select an option

  • Save Rishabh04-02/aee53d2d5abc5df022652f756dc291ab to your computer and use it in GitHub Desktop.

Select an option

Save Rishabh04-02/aee53d2d5abc5df022652f756dc291ab to your computer and use it in GitHub Desktop.
Competitive coding for beginners

Competitive coding beginners -

Best websites for beginners -

  1. hackerearth
  2. hackerrank

These websites are suitable for beginners as they've problems in sorted order as required by beginners.

Links to start with -

  1. Welcome to Online Programming

This is a series of 7 questions/tutorials which will help the newbie to adapt to the competitive coding environment.

  1. Hackerearth Practice
    They've 3 major sub categories -
    1. Basic Programming

      In this just have a look on Basics of Input/Output and move to next category.

    2. Data Structures
      It has all the basic things covered eg.

       1. Arrays
           * 1-D
           * Multi-dimensional
       2. Stacks
           * Basics of Stacks
       3. Queues
           * Basics of Queues
       4. Hash Tables
           * Basics of Hash Tables
       5. Linked List
           * Singly Linked List
       6. Trees
           * Binary/ N-ary Trees
           * Binary Search Tree
           * Heaps/Priority Queues
       7. Advanced Data Structures ...
       8. Disjoint Data Structures ...
      

      You've to go through the questions of these categories before moving to the next category.

    3. Algorithms
      They've covered all the common algorithms and some advanced too (you can skip the advanced ones)

       1. Searching
           * Linear Search
           * Binary Search
           * ...
       2. Sorting
           * Bubble Sort
           * Selection Sort
           * Insertion Sort
           * Merge Sort
           * Quick Sort
           * ...
           * Heap Sort
           * ...
       3. Greedy Algorithms
           * Basics of Greedy Algorithms
       4. Graphs
           * Breadth First Search
           * Depth First Search
           * Minimum Spanning Tree
           * Shortest Path Algorithms
       5. Dynamic Programming
           * Introduction to Dynamic Programming 1
      
  2. Hackerrank - Datastructure
  3. Hackerrank - Algorithms

When in problem

When in problem refer

  1. Stackoverflow
  2. Codemonk

Few things to remember

Always start competitive programming in pairs/groups, it'll help go a long way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment