GitHub / AllAlgorithms/c issues and pull requests
#488 - Al
Issue -
State: closed - Opened by KillaCilla 2 months ago
#487 - Update roundrobin.c
Pull Request -
State: open - Opened by mhdgning131 3 months ago
#486 - 饥荒日志
Issue -
State: open - Opened by LImoweiLoser 3 months ago
#485 - Write a C program to calculate area of a rectangle.
Issue -
State: open - Opened by anjan-works 3 months ago
#484 - Added linked list data structure example
Pull Request -
State: open - Opened by PowerPizza 3 months ago
#483 - Merging_errors
Pull Request -
State: open - Opened by HarleenSandhu1312 4 months ago
#482 - commited changes
Pull Request -
State: open - Opened by gargdilkash2006 4 months ago
#481 - Maddy1
Pull Request -
State: open - Opened by AdityaMadan15 4 months ago
#480 - Forking
Pull Request -
State: closed - Opened by Bhumika-Raheja 4 months ago
#479 - Create abc
Pull Request -
State: open - Opened by BhavyaGarg1980 4 months ago
#478 - Create lazy
Pull Request -
State: closed - Opened by Bhumika0401 4 months ago
#477 - Dk bhai
Issue -
State: closed - Opened by DhavalKaravadara 5 months ago
#476 - Calculator
Issue -
State: open - Opened by Siddharth090105 6 months ago
#475 - Calculator
Issue -
State: open - Opened by Geethesh12 6 months ago
#474 - Calculator
Issue -
State: open - Opened by munitharun7 6 months ago
#473 - Calculator
Issue -
State: open - Opened by Vikash130704 6 months ago
#472 - Calculator
Issue -
State: open - Opened by vinay-326 6 months ago
#471 - Calculator
Issue -
State: open - Opened by Siddharth090105 6 months ago
#470 - Calculator
Issue -
State: open - Opened by Geethesh12 6 months ago
#469 - Calculator
Issue -
State: open - Opened by Vikash130704 6 months ago
#468 - Simple calculator
Issue -
State: open - Opened by ShaikMoneesha 6 months ago
#467 - Calculator program
Issue -
State: open - Opened by Hematirukala 6 months ago
#466 - Calculator program
Issue -
State: open - Opened by Hematirukala 6 months ago
#465 - #include <stdio.h> #include <limits.h> long long second_larg_ele(int size, long long arr[]) { if (size < 2) { return -1; // Return -1 if there is no second largest element } long long largest = LLONG_MIN; long long second_largest = LLONG_MIN; for (int i = 0; i < size; i++) { if (arr[i] > largest) { second_largest = largest; largest = arr[i]; } else if (arr[i] > second_largest && arr[i] < largest) { second_largest = arr[i]; } } return (second_largest == LLONG_MIN) ? -1 : second_largest; } // Example usage int main() { int size1 = 8; long long arr1[] = {20, 30, 50, 60, 70, 10, 11, 25}; printf("%lld\n", second_larg_ele(size1, arr1)); // Output: 60 int size2 = 5; long long arr2[] = {1, 2, 3, 4, 5}; printf("%lld\n", second_larg_ele(size2, arr2)); // Output: 4 return 0; }
Issue -
State: open - Opened by Hematirukala 6 months ago
#464 - #include <stdio.h> #include <limits.h> long long second_larg_ele(int size, long long arr[]) { if (size < 2) { return -1; // Return -1 if there is no second largest element } long long largest = LLONG_MIN; long long second_largest = LLONG_MIN; for (int i = 0; i < size; i++) { if (arr[i] > largest) { second_largest = largest; largest = arr[i]; } else if (arr[i] > second_largest && arr[i] < largest) { second_largest = arr[i]; } } return (second_largest == LLONG_MIN) ? -1 : second_largest; } // Example usage int main() { int size1 = 8; long long arr1[] = {20, 30, 50, 60, 70, 10, 11, 25}; printf("%lld\n", second_larg_ele(size1, arr1)); // Output: 60 int size2 = 5; long long arr2[] = {1, 2, 3, 4, 5}; printf("%lld\n", second_larg_ele(size2, arr2)); // Output: 4 return 0; }
Issue -
State: open - Opened by Hematirukala 6 months ago
#460 - Update binary_search.c
Pull Request -
State: open - Opened by sharvnaik10 6 months ago
#459 - Improve RoundRobin
Pull Request -
State: open - Opened by tanvir626 7 months ago
#458 - New algorithm
Pull Request -
State: open - Opened by mhdgning131 7 months ago
#457 - Information Model On All Programming Languages Using C Program.
Issue -
State: open - Opened by AdityaKadam08 7 months ago
#456 - Code
Issue -
State: open - Opened by Tudhardh 7 months ago
#455 - made a modification by updating the readme file
Pull Request -
State: open - Opened by monesh108 7 months ago
- 1 comment
#454 - modified
Pull Request -
State: open - Opened by Aishwarya011204 7 months ago
#453 - [Bug] Search Bar Not Displaying Results on Movie Recommendations Page
Issue -
State: open - Opened by Seanpesis 8 months ago
- 1 comment
#452 - C Programming
Issue -
State: open - Opened by K4armine 9 months ago
#451 - C programming
Issue -
State: open - Opened by sudhanshuyaduwansi 9 months ago
- 4 comments
#450 - Update heapsort.c
Pull Request -
State: open - Opened by Raja-Muhammad-Bilal-Arshad 9 months ago
#449 - Headerfile of loops in c
Issue -
State: open - Opened by Jahanvigoyal 10 months ago
- 1 comment
#448 - hwprog
Issue -
State: open - Opened by antifairy 10 months ago
#447 - Stack operations
Issue -
State: open - Opened by Yashaswini2205 10 months ago
#446 - Exp
Issue -
State: open - Opened by FayasFaisal 10 months ago
#445 - C programming
Issue -
State: open - Opened by C3DOO 10 months ago
- 1 comment
#444 - #include<stdio.h> #include<conio.h>
Issue -
State: open - Opened by Bansiodedra 11 months ago
- 1 comment
#443 - #include
Issue -
State: open - Opened by Himanshu-kumar-20 12 months ago
#442 - Seletion Sort
Issue -
State: open - Opened by bca072024 about 1 year ago
- 1 comment
#441 - Quick Sort
Issue -
State: open - Opened by bca072024 about 1 year ago
#440 - Bubble Sort
Issue -
State: open - Opened by bca072024 about 1 year ago
- 1 comment
#439 - Insertion Sort
Issue -
State: open - Opened by bca072024 about 1 year ago
#438 - Linear Search
Issue -
State: open - Opened by bca072024 about 1 year ago
#437 - Imp Ins Del Dis On Queue
Issue -
State: open - Opened by bca072024 about 1 year ago
#436 - Infix Prefix
Issue -
State: closed - Opened by bca072024 about 1 year ago
#435 - Infix Postfix
Issue -
State: closed - Opened by bca072024 about 1 year ago
#434 - Imp Push Pop Terv
Issue -
State: open - Opened by bca072024 about 1 year ago
#433 - N Student
Issue -
State: open - Opened by bca072024 about 1 year ago
#432 - Permu
Issue -
State: open - Opened by bca072024 about 1 year ago
#431 - Swap
Issue -
State: open - Opened by bca072024 about 1 year ago
- 1 comment
#430 - Len Str Poin
Issue -
State: open - Opened by bca072024 about 1 year ago
#429 - Cre Ins Acc
Issue -
State: open - Opened by bca072024 about 1 year ago
#427 - Added file for left and right shift rotation
Pull Request -
State: open - Opened by AnshumanAryan24 almost 2 years ago
#426 - Create bubble.cpp
Pull Request -
State: open - Opened by Sejzz almost 2 years ago
#425 - Create selectionSort.cpp
Pull Request -
State: open - Opened by Sejzz almost 2 years ago
#424 - Create quickSort.cpp
Pull Request -
State: open - Opened by Sejzz almost 2 years ago
#423 - Create binarySearch.cpp
Pull Request -
State: open - Opened by Sejzz almost 2 years ago
- 1 comment
#422 - pointers in array
Pull Request -
State: open - Opened by Bisma-Nadeemm almost 2 years ago
- 1 comment
#421 - Added some cipher, linkedlist and stacks algotithms using c
Pull Request -
State: open - Opened by adityaxanand almost 2 years ago
#420 - Getting compilation error in this c++ program #include <iostream> using namespace std; class Time { int h, m, s; public: Time() { h = 0, m = 0, s = 0; } void setTime(); void show() { cout << h << ":" << m << ":" << s; } Time operator+(Time); }; Time Time::operator+(Time t1) { Time t; int a, b; a = s + t1.s; t.s = a % 60; b = (a / 60) + m + t1.m; t.m = b % 60; t.h = (b / 60) + h + t1.h; t.h = t.h % 12; return t1; } int main() { Time t1, t2, t3; cout << "enter the first time"; t1.setTime(); cout << "\n Enter the second time"; t2.setTime(); t3 = t1 + t2; cout << "\n first time"; t1.show(); cout << "\nsecond time"; t2.show(); cout << "\n sum of times"; t3.show(); return 0; }
Issue -
State: open - Opened by Diliphindustani almost 2 years ago
- 2 comments
#419 - added polynomial representation and summation
Pull Request -
State: open - Opened by limitlesslogger almost 2 years ago
#418 - Added Cocktail sort algorithm
Pull Request -
State: closed - Opened by TutTrue almost 2 years ago
#417 - adding the power-of-2 algorithm (bitwisebitwise-manipulation)
Pull Request -
State: open - Opened by ShuaibKhan786 almost 2 years ago
#416 - Update TowerOfHanoi.c
Pull Request -
State: open - Opened by debnath003 almost 2 years ago
- 3 comments
#415 - Hi
Issue -
State: open - Opened by kartikeyamohan28 almost 2 years ago
- 1 comment
#414 - Create searchInBST.c
Pull Request -
State: open - Opened by akhil-maker almost 2 years ago
#413 - Multiplication table
Issue -
State: closed - Opened by Hope-561 almost 2 years ago
#412 - Bogo_Sort.c
Pull Request -
State: closed - Opened by i-pj almost 2 years ago
#410 - Update is_prime.c
Pull Request -
State: closed - Opened by JoyM268 almost 2 years ago
#409 - C for DCFS
Issue -
State: open - Opened by bhaarathi-rcas almost 2 years ago
#408 - implementation of union disjoint set
Pull Request -
State: closed - Opened by Maneesh-98-31 about 2 years ago
#407 - implementation of union disjoint set
Pull Request -
State: closed - Opened by Maneesh-98-31 about 2 years ago
#406 - Example of c program
Issue -
State: open - Opened by victor48-ux about 2 years ago
- 3 comments
#405 - #include<stdio.h>
Issue -
State: open - Opened by victor48-ux about 2 years ago
- 1 comment
#404 - Update heapsort.c
Pull Request -
State: open - Opened by yogirajbshinde21 about 2 years ago
#403 - Data structures
Issue -
State: open - Opened by Diliphindustani about 2 years ago
- 1 comment
#402 - Updated age code
Pull Request -
State: closed - Opened by bhaviksharma13 over 2 years ago
#401 - Updated age code
Pull Request -
State: closed - Opened by bhaviksharma13 over 2 years ago
#400 - regrding how we contribute in this repository.
Issue -
State: open - Opened by Nikhilagrawalcoder over 2 years ago
#399 - Add files via upload
Pull Request -
State: open - Opened by yashpatel08 over 2 years ago
#398 - Exponential Search.c
Pull Request -
State: open - Opened by rachit7596 almost 3 years ago
#397 - Create count length of string
Pull Request -
State: closed - Opened by 12manisha almost 3 years ago
#396 - Create queue using LL
Pull Request -
State: closed - Opened by 12manisha almost 3 years ago
#395 - delete first node
Pull Request -
State: closed - Opened by 12manisha almost 3 years ago
#394 - N-queen_problem
Pull Request -
State: open - Opened by Stapa1 almost 3 years ago
#393 - Solution for salary problem
Pull Request -
State: open - Opened by manishyadav12 almost 3 years ago
#392 - Add Fast Inverse Square Root Code
Pull Request -
State: open - Opened by aryanrai2001 almost 3 years ago
#391 - Created basic_salary_and_bonus.c and Double_Circular_Lined_List_Operations.c
Pull Request -
State: closed - Opened by AritraPal147 almost 3 years ago
#390 - star pattern in c
Pull Request -
State: open - Opened by Ruteswar almost 3 years ago
#389 - Added vigenere cipher algorithm
Pull Request -
State: open - Opened by Axetriks almost 3 years ago
#388 - Create linearsearch.c
Pull Request -
State: open - Opened by arindamdas13 almost 3 years ago
#387 - Added Tree Data Structure
Pull Request -
State: closed - Opened by Harshitaggarwal4 almost 3 years ago