Skip to content

Update STACK_USING_ARRAY.cpp#34

Open
arjunjain8887 wants to merge 1 commit into
pravocodes:mainfrom
arjunjain8887:patch-1
Open

Update STACK_USING_ARRAY.cpp#34
arjunjain8887 wants to merge 1 commit into
pravocodes:mainfrom
arjunjain8887:patch-1

Conversation

@arjunjain8887

Copy link
Copy Markdown
  1. Memory Management: Ensured proper deallocation of memory using delete[] for arrays.
  2. Error Handling: Added checks for invalid capacities and empty stack conditions.
  3. Corrected Logic: Fixed the condition in isfull() and improved overall logic flow.
  4. User Feedback: Enhanced user feedback messages to make it clearer what went wrong.
  5. Code Readability: Improved indentation and spacing for better readability.
  6. Consistent Return Types: Ensured that functions like peek() return a consistent value even in error cases.

@pravocodes

Copy link
Copy Markdown
Owner

There are conflicts with the main branch please resolve those to get merged.

@harshangvirani

Copy link
Copy Markdown
Contributor

@pravocodes please assignee this task to me

@pravocodes

pravocodes commented Oct 13, 2024

Copy link
Copy Markdown
Owner

Yes I have assigned @harshangvirani

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants