Skip to content

Theory of Programming

  • Home
  • Data Structures and Algorithms
    • Graph Theory
      • Graph Theory Basics
        • Theory and Implementation in C
        • Adjacency List Implementation in C++ STL
        • Adjacency List with String vertices using C++ STL
        • Adjacency List in C#
      • Breadth First Search (BFS) Algorithm
        • Theory and Implementation in C
        • BFS Algorithm using C++ STL
        • Algorithm using Queue
      • Snakes and Ladders Game Code
      • Depth First Search Algorithm
      • Bellman Ford Algorithm
        • Theory and Implementation in basic C++
        • Algorithm Implementation in C++ STL
      • Prim’s Algorithm
        • Theory and Implementation in basic C++
        • Algorithm Implementation in C++ STL
      • Dijkstra’s Algorithm
    • Tree Data Structures
      • Binary Indexed Tree (or) Fenwick Tree
      • Trie Tree
        • Trie Tree Implementation and Theory
        • Trie Tree using C++ Class
        • Trie Tree Practise – SPOJ – PHONELST
        • Trie Tree Practise – SPOJ – DICT
      • Compressed Trie Tree
      • N-ary tree or K-way tree data structure
      • Segment Trees
      • Binary Heaps
      • Binary Heaps and Heapsort Algorithm
    • Dynamic Programming
      • Introduction and Fibonacci Numbers
      • Kadane’s Algorithm
      • Edit Distance
    • Searching Algorithms
      • Binary Search Algorithm
      • Jump Search Algorithm
    • Sorting Algorithms
      • Quick Sort Algorithm
      • Merge Sort Algorithm
    • Math
      • Modular Arithmetic Properties
  • AI
    • MiniMax Algorithm
    • Minimax algorithm with Alpha-Beta Pruning
    • Iterative Deepening Depth First Search
    • Bidirectional Search
  • Java
    • Language Basics
      • An Introduction
      • Data Types, Input and Operators
      • If Else, Switch and Loops
      • Strings, StringBuffer and StringBuilder
      • Arrays in Java
      • Enum and Methods in Java
    • Introduction to OOP
      • Java Tutorials – Classes and Objects
      • Encapsulation in Java
      • Constructor and Overloading Methods
      • Inheritance
  • Interview Corner
    • Arrays
  • C++
    • Basics
      • Why should I learn C++?
      • C++ Programming Style and Structure
      • Variables, Initialization and Assignment
      • Writing Professional Code in C++
  • Team
    • Vamsi Sangam
      • My Life in a Nutshell
      • Favourite Quotes
      • Books Read
    • Punit Sharma
      • About Me
Theory of Programming

Tag: SPOJ Editorial

Competitive Coding

Trie Tree Practise – SPOJ – DICT

Posted on September 1, 2015December 24, 2016

Hello people..! In this post we will talk about solving another competitive programming question based on trie tree. I will take up the SPOJ problem – DICT. This is a little harder than the previous trie tree practise problem, PHONELST. Now, read the problem statement carefully a couple of times. Just so that you don’t […]

Competitive Coding

Trie Tree Practise – SPOJ – PHONELST

Posted on August 24, 2015December 24, 2016

Hello people..! In this post I will show you how to get started with solving Trie Tree based questions in competitive programming. Learning a data structure is different from solving competitive coding questions based on that data structure. In this post, I take up a very simple question so that your confidence is boosted. We […]

Theory of Programming on YouTube

Theory of Programming is shifting to YouTube!

Please visit the YouTube channel. Hoping you’ll support the YouTube channel just like you have greatly supported the website! 🙂

Recent Posts

  • Bidirectional Search January 21, 2018
  • Iterative Deepening Depth First Search (IDDFS) January 14, 2018
  • N-ary tree or K-way tree data structure January 14, 2018
  • Rotate matrix clockwise December 31, 2017
  • Print matrix in spiral order December 31, 2017

Like this website on Facebook..!

Like this website on Facebook..!

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 164 other subscribers

Categories

Archives

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 164 other subscribers

Proudly powered by WordPress | Theme: Sydney by aThemes.