Yash Vardhan Tyagi's repositories
Add-Two-Number-Without-arithmetic_logical-operator
Adding two numbers without using any arithmetic or logical operator.
first_last-index-duplicate-element
Given a sorted array with possibly duplicate elements, the task is to find indexes of first and last occurrences of an element x in the given array.
Largest-Smallest-Unsorted_array
Find the Largest And Smallest Element in an array without sorting.
Nuts-and-Bolts-Problem
Given a set of N nuts of different sizes and N bolts of different sizes. There is a one-one mapping between nuts and bolts. Match nuts and bolts efficiently. Comparison of a nut to another nut or a bolt to another bolt is not allowed. It means nut can only be compared with bolt and bolt can only be compared with a nut to see which one is bigger/smaller. The elements should follow the following order! # $ % & * @ ^ ~ .
OOPs-Class-Cpp-Basic
Basic Object-Oriented Programming language questions in C++ to get started as a beginner.
Radix-Sort-Code
The idea of Radix Sort is to do digit by digit sort starting from least significant digit to most significant digit. Radix sort uses counting sort as a subroutine to sort.
Replace-0-with-1-in-Digit
The replace all program in C++ programming works to replace the numbers with zero, where the number must be an integer. All the zeros (if encountered) in the given program will be replaced by 1. Ex- number is 12004509 all 0’s are replays of 1’s so number is 12114519.
Third-largest-element-array
Given an array of n integers, find the third largest element. All the elements in the array are distinct integers.
DAA
Design of Algorithms
Leetcode-ques
Leetcode Questions For Interviews