Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • DSA Tutorial
  • Data Structures
  • Algorithms
  • Array
  • Strings
  • Linked List
  • Stack
  • Queue
  • Tree
  • Graph
  • Searching
  • Sorting
  • Recursion
  • Dynamic Programming
  • Binary Tree
  • Binary Search Tree
  • Heap
  • Hashing
  • Divide & Conquer
  • Mathematical
  • Geometric
  • Bitwise
  • Greedy
  • Backtracking
  • Branch and Bound
  • Matrix
  • Pattern Searching
  • Randomized
Open In App
Next Article:
How To Approach A Coding Problem ?
Next article icon

Basic Coding Problems in DSA for Beginners

Last Updated : 10 Jul, 2023
Comments
Improve
Suggest changes
Like Article
Like
Report

For any beginner looking to strengthen their skills in Data structures and algorithms (DSA), we have brought to you a collection of basic coding problems. These carefully selected problems will provide a solid foundation in fundamental concepts, helping beginners enhance their logical thinking and problem-solving abilities.


BAsic-Coding-Problem-DSA--2
Basic Coding Problems

Below is the list of Basic Coding Problems designed for Beginners:

Basic Coding Problems

Count number of even and odd elements in an array

Average numbers in array

Program to print the given digit in words

Check if a large number is divisible by 6 or not

Check if a number is Palindrome

Program to count vowels in a string

Check if given number is perfect square

Program to find the maximum element in a Matrix

Program for Sum of the digits of a given number

Sum of square-sums of first n natural numbers

Program for Armstrong Numbers

Program for factorial of a number

Program to check if an array is sorted or not

Program to print multiplication table of a number

Check if a word is present in a sentence

Segregate 0s and 1s in an array

What are Prime Numbers?

Write a program to reverse digits of a number

Find Second largest element in an array

Display the Longest Name


Next Article
How To Approach A Coding Problem ?

H

harendrakumar123
Improve
Article Tags :
  • DSA
  • Basic Coding Problems
  • DSA Sheet

Similar Reads

  • How To Debug Your Code | For Beginners
    Debugging is a process of finding errors, mistakes, or bugs in the code so that code gives the desired output. Debugging involves pointing out and resolving the errors or issues that cause the error to behave unexpectedly or produce wrong output by reviewing the code carefully line by line, testing
    15+ min read
  • Logic Building Problems
    Logic building is about creating clear, step-by-step methods to solve problems using simple rules and principles. It’s the heart of coding, enabling programs to think, reason, and arrive at smart solutions just like we do. Here are some tips for improving your programming logic: Understand the probl
    2 min read
  • How To Approach A Coding Problem ?
    Solving a DSA (Data Structures and Algorithms) Problem is quite tough. In This article, we help you not only solve the problem but actually understand it, It's not about just solving a problem it's about understanding the problem. we will help to solve DSA problems on websites like Leetcode, CodeChe
    9 min read
  • The Ultimate Beginner's Guide For DSA
    Every great programmer, like you, works to develop code that is as efficient as possible and produces the best results. So the main goal of every programmer is not to merely write a code that works but to write a well-structured code that works efficiently. This skill can only be developed if one ha
    15+ min read
  • DSA Self Paced Course – Basic to Advanced Online Course By GeeksforGeeks
    If you're preparing for a tech interview with a product-based company or planning to do the same? Are you looking for a DSA Course? Don't know how to begin with data structures and algorithms? Then you are at the right place. Almost every IT giant including Facebook, Google, Amazon, etc. focuses mor
    6 min read
  • Disjoint Set meaning and definition in DSA
    Disjoint Set is a data structure that keeps track of a set of elements partitioned into a number of disjoint subsets and it is used to efficiently solve problems that involve grouping elements into sets and performing operations on them. Characteristics of the Disjoint Set:It keeps a set partitioned
    2 min read
  • Complete A2Z Reference for DSA Concepts
    The A to Z DSA Concepts encompasses an array of fundamental techniques in Data Structures and Algorithms. From "Array" to "Zigzag Traversal," these concepts equip programmers with essential tools to solve a wide range of challenges. Navigating through "Graphs," "Sorting Algorithms," "Dynamic Program
    3 min read
  • Can I learn DSA in 2 months?
    Yes, learning data structures and algorithms (DSA) in two months is certainly feasible and can allow for a more comprehensive understanding compared to a one-month timeline. With dedicated effort and a structured learning plan, you can cover a wide range of DSA topics and gain proficiency in problem
    3 min read
  • OLA Cabs Interview Experience | Set 4 (For SDE 2)
    I was recently interviewed for SDE 2 position at OlaCabs. Round 1 (around 1 hour) Design and implement a logging library. Preferred language was Java. - There can be multiple appenders - like file, network, db etc. Should be easy to add appenders. - Library should be easily configurable. - Message f
    2 min read
  • RoadMap for DSA in Python
    Mastering Data Structures and Algorithms (DSA) is key to optimizing code and solving problems efficiently. Whether you're building applications or preparing for tech interviews at companies like Google, Microsoft, or Netflix, DSA knowledge is crucial. This roadmap will guide you from basic concepts
    5 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences