Ayush7614 / Ayush7614/Daily-Coding-DS-ALGO-Practice

Facing the sun

Open
#2,126 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
323
Forks
472
PR merge metrics
No merged PRs in 30d

Description

## Aim

Facing the sun

## Details

Given an array H representing heights of buildings. You have to count the buildings which will see the sunrise (Assume : Sun rise on the side of array starting point).

![tem](https://user-images.githubusercontent.com/66204436/126179695-5c2cdb1b-015c-4f7f-98be-5546d2c4bf5a.PNG)

### Programming language

- [ ] C
- [x] C++
- [ ] Java
- [ ] Python

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. Start by inspecting how this repository organizes C++ array and data-structure problems, then locate the appropriate implementation pattern for the stated building-height input. Done means adding a working C++ solution that counts buildings visible from the array's starting side and matches the repository's expected format.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.