CodeCollection icon indicating copy to clipboard operation
CodeCollection copied to clipboard

Do push code on which you are working or if you have solved any problem in any language add the solution to this repository and help to contribute and star this repository!!Refer CONTRIBUTING.md for c...

Results 107 CodeCollection issues
Sort by recently updated
recently updated
newest added

This is a simple but working implementation of the POSIX `echo` utility.

class Solution { public: double findMedianSortedArrays(vector& arr1, vector& arr2) { int n1=arr1.size(); int n2=arr2.size(); int n=n1+n2-1; int arr3[n+1]; int k=0; int j=0; int i=0; while(i

class Solution { public: int findMin(vector& nums) { int r = nums.size()-1, l = 0, mid; if (!r) return nums[0]; // only one element while (l < r) { mid...

## Beep boop. Your images are optimized! Your image file size has been reduced by **7%** 🎉 Details | File | Before | After | Percent reduction | |:--|:--|:--|:--| |...

This folder contains the implementation of queue and questions related to it

Added some **quality questions** which were solved by me on **LeetCode** and **Geeks for Geeks**

Given a square matrix mat[][] of dimension N and an integer K, rotate the matrix by 90 degrees K times without changing the position of the diagonal elements.