Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mohahmadraza/problem-solving-skills-from-hakerrank
https://github.com/mohahmadraza/problem-solving-skills-from-hakerrank
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mohahmadraza/problem-solving-skills-from-hakerrank
- Owner: mohAhmadRaza
- Created: 2024-02-05T10:30:27.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-15T05:22:05.000Z (7 months ago)
- Last Synced: 2024-06-16T08:41:25.406Z (5 months ago)
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Here I am uploading files whenever I solved any algorithms:
# Maximum Times Repeated Minimum Element From Array:
1) How to draw login, Implementation and perfection
2) How to treat with arrays
3) How to count maximum times repeated element
4) How to find minimum times repeated element
5) How to find highest & lowest value element# Programmer of the day:
This problem got my almost whole day. In this I did :
1) How to use arrays
2) How to handle with years ,days, and months
3) How to set up logic, this is main thing I learnt from this# Sales by match:
Problem Statement:
There is a large pile of socks that must be paired by color. Given an array of integers representing the color of each sock, determine how many pairs of socks with matching colors there are.
But,
I got stuck on this problem for more than 1 hour , just crazed in the complex logic I designedIn this problem I used arrays!!
1) First I find element if it repeats twice than increment the count
2) Next I removed that element from the array so that if third element of same type appears it will have to be count
3) Thus if element exists thrice or more, it will be considered by removing the previous same elements from array# Bill Division problem:
Problem Statement:
Two friends Anna and Brian, are deciding how to split the bill at a dinner. Each will only pay for the items they consume. Brian gets the check and calculates Anna's portion. You must determine if his calculation is correct.Here I used arrays also this task was very easy for me
# Drawing Book Problem
This problem got my a lot of time , it was very difficult to build my logic for this, but I solved.I learnt:
Declaring, initializing, modifying variable values using arithmetic operations
Where to use break statements
Conditional Statements
Managing program flow using control flow statements (break) to exit loops.
Performing basic mathematical operations (% for modulus)
How to use Comparison Operators
cmath library# Valleys Crossed problem
I just design a logic for this problem, the problem needs a lot of attention and I gave my full and finally succeeded in doing it completely.
It demands alot about mind focusing situation.