geeksforgeeks
  • Courses
  • Tutorials
  • Interview Prep
  • DSA
  • Practice Problems
  • C
  • C++
  • Java
  • Python
  • JavaScript
  • Data Science
  • Machine Learning
  • Courses
  • Linux
  • DevOps
Similar Topics
Web Technologies32.1K+ articles
DSA20.4K+ articles
Python19.6K+ articles
Mathematical5.1K+ articles
Tree911+ articles
Pattern Searching401+ articles
arithmetic progression76+ articles
Geometric Progression27+ articles
harmonic progression12+ articles
Progressions7+ articles

Aptitude-Progressions

2 posts
Check whether nodes of Binary Tree form Arithmetic, Geometric or Harmonic Progression
Last Updated: 12 July 2025
Given a binary tree, the task is to check whether the nodes in this tree form an arithmetic progression, geometric progression or harmonic progression.Examples:Input: ...read more
Tree
Pattern Searching
Mathematical
DSA
Aptitude-Progressions
Progressions
arithmetic progression
Geometric Progression
harmonic progression
Sum of P terms of an AP if Mth and Nth terms are given
Last Updated: 27 May 2022
Given Mth and Nth terms of arithmetic progression. The task is to find the sum of its first p terms.Examples:Input: m = 6, n = 10, mth = 12, nth = 20, p = 5Output:30Input:...read more
DSA
Aptitude-Progressions
GeeksforGeeks
location
Corporate & Communications Address:
A-143, 6th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
location
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play StoreGFG App on App Store
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Campus Training Program
  • Explore
  • POTD
  • Job-A-Thon
  • Blogs
  • Nation Skill Up
  • Tutorials
  • Programming Languages
  • DSA
  • Web Technology
  • AI, ML & Data Science
  • DevOps
  • CS Core Subjects
  • Interview Preparation
  • Software and Tools
  • Courses
  • ML and Data Science
  • DSA and Placements
  • Web Development
  • Programming Languages
  • DevOps & Cloud
  • GATE
  • Trending Technologies
  • Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
  • Preparation Corner
  • Interview Corner
  • Aptitude
  • Puzzles
  • GfG 160
  • System Design
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved