Skip to content
GeeksToCode
Live To Code, Code To Live
  • Home
  • Data Structures
  • Competitive Programming
  • JAVA
  • Problems

Category: Algorithm

January 10, 2021

Towers of Hanoi Program & Algorithm In C

This article deals with the problem of towers of Hanoi in the C programming language. We all would have played towers of Hanoi puzzle in our childhood, right? Now let’s solve the mathematical puzzle computationally….

January 2, 2021

How to Print 4 Different Diamond Pattern in Python

We think printing diamond pattern is a herculean task. In fact, it is a piece of cake. This article will help you in learning to print diamond pattern in python. This article deals with four…

September 19, 2020

Find First Repeating Element In An Array

We are going to find the First Repeating Element In An Array but before this, I hope you know what the array, binary search, set is. I am not going to make this post long…

September 17, 2020

Factorial Using Recursion | Explained

Finding factorial using recursion is not any rocket science, Here I am going to explain both methods. But let’s have a look at what factorial and recursion is. Factorial: factorial of number is defined as,…

September 15, 2020

How To Sort A String In C++ | 2 Different Ways

Sorting is very important in Competitive Programming. Here, we are going to discuss How to sort a string in C++ in 2 different ways. Sorting String refers to Sorting Multiple String or Sorting characters of…

September 13, 2020

A-Good String: Codeforces 1385 D: Explained

This is another editorial post of the code forces problem a-Good String. Detailed Editorial In this problem our task is to find the minimum number of moves required to obtain a-good string from the given…

September 7, 2020

Basketball Exercise Codeforce 1195C Editorial Explained

This is another editorial post of the codeforce problem Basketball Exercise. Detailed BasketBall Exercise Editorial The problem is basically a DP problem where we have the choice to choose such that  no consecutive chosen students…

September 6, 2020

Little Girl and Maximum Sum, Editorial | Codeforces

This is an editorial post of the codeforces problem Little Girl and Maximum Sum. Detailed Editorial If you observe the problem statement carefully, it is a range sum query problem that can be easily done…

September 5, 2020

Mashmokh and ACM Editorial | GeeksToCode

This is an editorial post of the code forces problem Mashmokh and ACM. Problem Statement Mashmokh’s boss, Bimokh, didn’t like Mashmokh. So he fired him. Mashmokh decided to go to university and participate in ACM…

September 3, 2020

Java Program To Check Least Significant Bit Of Number is Set or Not

Need to check the Least Significant bit is set or not. You are in the right place. I am going to explain how to check the least significant bit is set which means 1 or…

Posts navigation

1 2 … 4 Next »

Quick Access

  • About Us
  • Android Studio Tutorial
  • Competitive Programming
  • Contact
  • Data Structures
  • Disclaimer
  • JAVA
  • Privacy Policy
  • Problems
  • Sitemap

Archives

  • January 2021
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020

Search…

GeeksToCode © 2020-2021

|