Skip to content

akarshn04/DSAPractice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSAPractice

This repository just has few practice questions for DSA. It contains competitive programming questions & solutions.

1. Symmentric Logo

Link to problem- https://www.hackerearth.com/practice/data-structures/arrays/multi-dimensional/practice-problems/algorithm/roy-and-symmetric-logos-1/

2. True Cells

Link to problem- https://www.hackerearth.com/practice/data-structures/arrays/multi-dimensional/practice-problems/algorithm/saul-goodmans-problem-statement/description/

3. Anagram Strings

An anagram of a string is another string that contains same characters,
only the order of characters can be different.
For example, “abcd” and “dabc” are anagram of each other. Other examples- 1. LISTEN <----> SILENT
2. TRIANGLE <----> INTEGRAL
The time complexity of the solution is O(n)

4. Add 1 to the number

Link to problem- https://www.interviewbit.com/problems/add-one-to-number/

5. Peak of an array

Given an integer array A of size N. You need to check that whether there exist a element which is strictly greater than all the elements on left of it and strictly smaller than all the elements on right of it.

If it exists return 1 else return 0.

NOTE:

  • Do not consider the corner elements i.e A[0] and A[N-1] as the answer.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published