Skip to content

07joyal/dsa-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

DSA in C++

This repository contains my C++ practice codes while learning Data Structures and Algorithms.

Arrays Folder

The following problems are implemented in the arrays folder.

1. Two Sum

File: TwoSum.cpp
Description: Finds two numbers in an array whose sum equals the target value.

2. Swap Alternate Array

File: SwapAlternateArray.cpp
Description: Swaps alternate elements in a 1-D array.

3. Binary Search (First and Last Occurrence)

File: BinarySearch.cpp
Description: Uses binary search to find the first and last occurrence of a number.

4. Search Insert Position

File: searchPosition.cpp
Description: Finds the index where the target should be inserted in a sorted array.

5. Find Unique Binary String

File: UniqueBinaryString.cpp
Description: Solution for LeetCode problem 1980.

About

I upload cpp programs in this repository to improve my problem-solving skills and understand core programming concepts through regular coding exercises.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages