Skip to content
/ dsa Public

A repository of Data Structures and Algorithms Problems in Java!

Notifications You must be signed in to change notification settings

vedanthv/dsa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Structures and Algorithms

This is a repository of Data Structures and Algorithms theory and problems!

Basic Problems

Index Problem Difficulty
0 Area, Volume and perimeter Questions Easy
1 Amstrong Number Easy
2 Automatic Type Cast Easy
3 Case Checking Easy
4 Conditionals Easy
5 Even or Odd Number Easy
6 Factorial of a Number Easy
7 Factors of a Number Easy
8 Fibonacci Sequence Easy
9 Greeting Message Easy
10 Taking Inputs Easy
11 Largest Number Easy
12 Maximum Number Until 0 Easy
13 Operations Easy
14 Check if Number is Prime Easy
15 Primitive Datatypes Easy
16 Addition of Two Numbers Easy
17 Sum of Numbers Until 0 Easy
18 Switch and Enhanced Switch Easy but NEW
19 Type Casting Easy
Area, Volume and perimeter Questions Easy

Mathematics

Index Problem Difficulty
1 Amstrong Number Easy
2 Highest Common Factor Naive Easy
3 Least Common Multiple Naive Easy
4 Matrix Addition Easy
5 Matrix Multiplication Medium
6 Transpose of a Matrix Easy

Functions Theory

Important Concept : Working of Swapping Program Video

Index Concept Difficulty
1 Greeting Message Easy
2 Simply Passing Values Easy
3 Passing Values of Primitive Datatypes Easy but Concept New
4 Changing Values of Compex Datatypes like Objects and References Easy but Concept New
5 Shadowing Concept in Java Easy but Concept New
6 Overloading Easy
7 Strings as Arguments Easy
8 Simple Sum Function in Java Easy
9 Why Swapping in Java this way doesn't work?! Medium
10 Variable Arguments Easy

Array and ArrayList Concepts

Video Tutorial
Github repo with the code from the tutorial

Problems on Arrays

Index Problem Difficulty Solution
1 Build Array from Permutation Easy Link
2 Array Concatenation Easy Link
3 Running Sum of 1D Array Easy Link
4 Richest Customer Wealth Easy Link
5 Shuffle Array Easy Link
6 Kids With Greatest Numer of Candles Easy Link
7 Number of Good Pairs Easy Link
8 Transpose Matrix Easy Link
9 Find numbers with even number of digits Easy Link
10 Find numbers with odd number of digits Easy Link
11 How many Numbers are Smaller than the current number Easy Link
12 Check if Sentence is a Panagram Easy Link
13 Count Items Matching A Rule Easy Link
14 Flip and Invert Image Easy Link
15 Find the Highest Altitude Easy Link
16 Cells With Odd Values in Matrix Medium Link
17 Matrix Diagonal Sum Easy Link

Linear Search

Concept Video : Link

Comm. Classroom Github : Link

Index Problem Difficulty Solution
1 Search in Strings Easy Link
2 Search In Range Easy Link

Binary Search

Concept Video : Link

Comm. Classroom Github : Link

Index Problem Difficulty Solution
1 Binary Search Algorithm Easy Link
2 Agnostic Binary Search Algorithm Easy Link
3 Ceiling of an element in the array Easy Link
4 Floor of an element in the array Easy Link
5 Smallest Letter Easy Link
6 First and Last Element of Sorted Array Medium Link
7 Postion of Element in Infinite Sorted Array Medium Link
8 Peak Index In Mountain Array Medium Link
9 Find in Mountain Array Medium Link

About

A repository of Data Structures and Algorithms Problems in Java!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages