{"id":21839048,"url":"https://github.com/viztruth/c-and-cpp-practice-problems-with-solutions","last_synced_at":"2025-03-21T15:20:36.118Z","repository":{"id":46585279,"uuid":"515469196","full_name":"Viztruth/C-and-Cpp-Practice-problems-with-solutions","owner":"Viztruth","description":"👉Well curated repo. containing solutions for all the practice questions that I've solved while I was learning C and C++. 💡Check the README for categorized questions. This repo. can be useful for beginner and intermediate-level C or C++ programmers. If you found this repo. useful, don't forget to star the repo and give a follow.","archived":false,"fork":false,"pushed_at":"2023-06-24T13:43:57.000Z","size":221,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T10:41:43.579Z","etag":null,"topics":["array-manipulations","c","c-plus-plus","c-programming","cpp","data-structures","data-structures-and-algorithms","linked-list","matrices","practice","practice-exercises","practice-problems","programming","solutions","string-manipulation"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Viztruth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-19T06:51:33.000Z","updated_at":"2023-07-01T04:13:21.000Z","dependencies_parsed_at":"2025-01-26T10:41:41.290Z","dependency_job_id":"c5e71e84-dc29-4631-a71d-04c564082a77","html_url":"https://github.com/Viztruth/C-and-Cpp-Practice-problems-with-solutions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Viztruth%2FC-and-Cpp-Practice-problems-with-solutions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Viztruth%2FC-and-Cpp-Practice-problems-with-solutions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Viztruth%2FC-and-Cpp-Practice-problems-with-solutions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Viztruth%2FC-and-Cpp-Practice-problems-with-solutions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Viztruth","download_url":"https://codeload.github.com/Viztruth/C-and-Cpp-Practice-problems-with-solutions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244819801,"owners_count":20515646,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["array-manipulations","c","c-plus-plus","c-programming","cpp","data-structures","data-structures-and-algorithms","linked-list","matrices","practice","practice-exercises","practice-problems","programming","solutions","string-manipulation"],"created_at":"2024-11-27T21:15:42.400Z","updated_at":"2025-03-21T15:20:36.093Z","avatar_url":"https://github.com/Viztruth.png","language":"C","readme":"# C or C++ Practice problems with solutions for beginners\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://repository-images.githubusercontent.com/515469196/c171d6b3-3851-4c74-9bfa-d46a98cd0aa4\" width=\"400\" alt=\"Golang\"\u003e\n\u003c/p\u003e\n\nWell curated repo. containing all the practice questions that I've solved while I was learning C and C++. These are simple C.S. lab-level questions designed to test your skills. This repo. can be useful for beginner and intermediate-level C or C++ programmers. I have just uploaded the code along with questions topicwise. For the ones that I felt a detailed explanation was necessary, I have given it in my \u003ca href=\"https://vishruthcodes.blogspot.com/\"\u003eblog\u003c/a\u003e. You can check that if you want. For the rest, the code is self-explanatory. \u003cbr\u003eThe C or C++ programs are easily inter-convertible by replacing the printf/scanf with cout/cin and vice versa and such, it shouldn't be much difficult to convert.\u003c/br\u003eThis repository will be regularly updated to include new problems I've solved or errors that I've resolved.\u003c/br\u003e\n\u003cb\u003eIf you felt the repository was useful, do star the repo, and give a follow. It would mean a lot to me.\u003c/b\u003e\u003cbr\u003e\n\nIf you have any questions, doubts related to the code, don't hesitate to ask them \u003ca href=\"https://vishruthcodes.blogspot.com/p/contact-us.html\"\u003ehere(blog) \u003c/a\u003e or in \u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/discussions/1\"\u003e github discussions\u003c/a\u003e.\n\n💡 Note: ✅ Button indicates that I have given a detailed explanation for the program in my \u003ca href=\"https://vishruthcodes.blogspot.com/\"\u003eblog\u003c/a\u003e.\n\n\u003ch2\u003eSolved Problems:\u003c/h2\u003e\n\u003cstrong\u003e⭐ Arrays, Functions and Recursion ⭐\u003c/strong\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/decimalprecision.c\"\u003e\n    • Setting decimal precision to 'n' decimal places | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/positiveornot.c\"\u003e\n    • Determine whether positive or negative number | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/evenorodd.c\"\u003e\n    • Determine odd or even | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/sumofdigits.c\"\u003e\n    • Sum of digits of a number | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/suminrange.c\"\u003e\n    • Sum of digits of a number in given range | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/primeno.c\"\u003e\n    • Check whether prime or not | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/primenoinrange.c\"\u003e\n    • Print the prime numbers in a given range | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/swap.cpp\"\u003e\n    • Function to swap 2 nos. without 3rd variable | C++\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-Cpp-Practice-problems-with-solutions/blob/main/swap.c\"\u003e\n        \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;Function to swap 2 nos. without 3rd variable | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/insertintoarray.cpp\"\u003e\n    • Static array vs dynamic array | C++\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/arrays.cpp\"\u003e\n    • Creation of dynamic array | C++\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/add.cpp\"\u003e\n    • Addition of 2 numbers using template function | C++\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/additionofnnos.cpp\"\u003e\n    • Addition of n continuous numbers using template function | C++\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/tables.cpp\"\u003e\n    • Multiplication tables generator | C++ ✅\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-Cpp-Practice-problems-with-solutions/blob/main/tables.c\"\u003e\n        \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;Multiplication tables generator | C ✅\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/factorialusingrecursion.cpp\"\u003e\n    • Factorial of a number using recursion | C++\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-Cpp-Practice-problems-with-solutions/blob/main/iterationfactorial.cpp\"\u003e\n        \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;Factorial of a number using iteration | C++\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/fibonacci.cpp\"\u003e\n    • Generating fibonacci sequence using recursion | C++\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/powerusingrecursion.cpp\"\u003e\n    • Power of a number using recursion | C++\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/itr.cpp\"\u003e\n    • Converting integers into expanded form | C++ ✅\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/mergearray.cpp\"\u003e\n    • Merge 2 arrays | C++\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/insertdelete.c\"\u003e\n    • Insert or Delete element from the array | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/euclidshcf.c\"\u003e\n    • Program to implement Euclid's Algorithm for computing GCD | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/nCr.cpp\"\u003e\n    • nCr Combinations | C++\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/psap.cpp\"\u003e\n    • Calculating area of a rectangle via different parameter passing techniques | C++\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/reversearray.cpp\"\u003e\n    • Reversing an array | C++\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/rng.cpp\"\u003e\n    • Random number generator | C++ ✅\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-Cpp-Practice-problems-with-solutions/blob/main/randomnogenerator.c\"\u003e\n        \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;Random number generator | C ✅\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/stonepaperscissor.cpp\"\u003e\n    • Simple stone paper scissor game | C++ ✅\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/roman.cpp\"\u003e\n    • Integer to roman number converter | C++\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/sortcheck.cpp\"\u003e\n    • Check whether array is sorted | C++\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/sortedornot.c\"\u003e\n    • Check whether array is in ascending or descending order | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/checkap.cpp\"\u003e\n    • Check whether the given array is in arithmetic progression | C++\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/sumpro.cpp\"\u003e\n    • Finding the 3 consecutive nos. in A.P. given their sum and product | C++ ✅\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/vmopaap.cpp\"\u003e\n    • Different ways of passing arrays as parameters to a function| C++ ✅\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-Cpp-Practice-problems-with-solutions/blob/main/union.cpp\"\u003e\n    • Union of arrays - Set operations | C ✅\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-Cpp-Practice-problems-with-solutions/blob/main/union.c%2B%2B\"\u003e\n        \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;Union of arrays - Set operations | C++ ✅\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-Cpp-Practice-problems-with-solutions/blob/main/intersection.cpp\"\u003e\n    • Intersection of arrays - Set operations | C++ ✅\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-Cpp-Practice-problems-with-solutions/blob/main/setdiff.cpp\"\u003e\n    • Set difference of arrays - Set operations | C++ ✅\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-Cpp-Practice-problems-with-solutions/blob/main/missingelementsusinghashing.c\"\u003e\n    • Finding the missing natural numbers using Hashing | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-Cpp-Practice-problems-with-solutions/blob/main/missingnaturalelements.c\"\u003e\n    • Finding the missing natural numbers | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/duplicount.c\"\u003e\n    • Finding the no. of duplicate elements in the array | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/duplicounthash.c\"\u003e\n    • Finding the no. of duplicate elements in the array using hashing | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/dupliremove.cpp\"\u003e\n    • Deleting duplicate elements from an array | C++\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/classesnfunctions.cpp\"\u003e\n    • Creation of Rectangle class | C++ [Classes and objects]\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/studentdetailsusingclasses.cpp\"\u003e\n    • Student details using classes | C++ [Classes and objects]\n\u003c/a\u003e\u003cbr\u003e\n\n\n\u003cbr\u003e\u003cstrong\u003e⭐ Strings ⭐\u003c/strong\u003e\u003cbr\u003e\n\u003ca href=\"https://www.geeksforgeeks.org/taking-string-input-space-c-3-different-methods/\"\u003e\n    ℹ️ Alternate methods of taking string inputs (GfG) \n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/string.cpp\"\u003e\n    • Displaying your name using strings | C++ ✅\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/vowelconsonant.c\"\u003e\n    • Count Vowels and consonants in a string | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/words.c\"\u003e\n    • Count no. of words in a string | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/stringasparam.c\"\u003e\n    • Passing string as parameter to a function | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/randomtextgen.c\"\u003e\n    • Captcha text generator (Random text generator) | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/palindrome.c\"\u003e\n    • Check whether the given string is a palindrome | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/anagram.c\"\u003e\n    • Check whether the strings are anagram or not | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/tokenizestring.c\"\u003e\n    • Tokenize a string | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/stringnumberfreq.c\"\u003e\n    • Program to print the frequency of digits in a string of alphabets and numbers | C\n\u003c/a\u003e\u003cbr\u003e\n\n\n\u003cbr\u003e\u003cstrong\u003e⭐ Matrices ⭐\u003c/strong\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/diagonalmatrix.c\"\u003e\n    • Create and display diagonal matrix using 1D array | C \n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/diagonalmatrix2d.c\"\u003e\n    • Create and display diagonal matrix using 2D array | C \n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/diagonalmatrix2d.cpp\"\u003e\n    • Create and display diagonal matrix using 2D array | C++ [Classes and objects]\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/lowerTriMatrix2d.c\"\u003e\n    • Create and display lower triangular matrix using 2D array | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/upperTriMatrix2d.c\"\u003e\n    • Create and display upper triangular matrix using 2D array | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/symmetricmatrixup2d.c\"\u003e\n    • Create and display symmetric matrix via upper triangular matrix using 2D array | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/symmetricmatric2d.c\"\u003e\n    • Create and display symmetric matrix via lower triangular matrix using 2D array | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/addmatrix.c\"\u003e\n    • Program to add two matrices and store the result in third matric | C\n\u003c/a\u003e\u003cbr\u003e\n\n\n\u003cbr\u003e\u003cstrong\u003e⭐ Linked List ⭐\u003c/strong\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/readArrayIntoLL.c\"\u003e\n    • Program to read array into singly linked list | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/arrayll.c\"\u003e\n    • Display the elements of singly linked list using recursion | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/lengthofll.c\"\u003e\n    • Basic Insert, Delete, Display, Length operations on  Singly Linked list | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-or-CPP-Practice-problems-with-solutions/blob/main/singlelinkedlist.cpp\"\u003e\n    • Basic Insert, Delete, Display, Length operations on  Singly Linked list | C++ [Classes and objects]\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/removeduplicates.c\"\u003e\n    • Creation of a linked list to store unique elements from an array | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/sumofelementsll.c\"\u003e\n    • Sum of all the elements of a singly linked list | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/maxandminofsll.c\"\u003e\n    • Max and Min elements of a singly linked list | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/linearsearchll.c\"\u003e\n    • Searching an element in singly linked list using linear search | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/improvedlinearsearchll.c\"\u003e\n    • Improved linear search method | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/insertintosortedll.c\"\u003e\n    • Insert into sorted linked list | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/checksllsorted.c\"\u003e\n    • Program to check whether the S.L.L. is sorted or not | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/removeduplicatessll.c\"\u003e\n    • Program to remove duplicates from S.L.L. | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/revsllusingarray.c\"\u003e\n    • Program to reverse the S.L.L. using an array | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/revsll.c\"\u003e\n    • Program to reverse the S.L.L. by reversing the links | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/sllconcatenate.c\"\u003e\n    • Program to concatenate 2 single linked lists | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/isloop.c\"\u003e\n    • Program to check whether there's a loop in the single linked list | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/displaycll.c\"\u003e\n    • Program to create and display circular linked list | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/insertioncircularll.c\"\u003e\n    • Insertion into circular linked list | C\n\u003c/a\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Vishruthh/C-and-Cpp-Practice-problems-with-solutions/blob/main/deletioncll.c\"\u003e\n    • Deletion in circular linked list | C\n\u003c/a\u003e\u003cbr\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviztruth%2Fc-and-cpp-practice-problems-with-solutions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviztruth%2Fc-and-cpp-practice-problems-with-solutions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviztruth%2Fc-and-cpp-practice-problems-with-solutions/lists"}