Coding Update Community
Open in Telegram
🚩 Channel was restricted by Telegram
Show moreThe country is not specifiedThe category is not specified
526
Subscribers
No data24 hours
No data7 days
No data30 days
Posts Archive
prove that t*-1 is a linear transformation given that T: u→v is a linear transformation
You can find new laptops at 34k with better specs not worth to buy such an old laptop
/ban tm sb nnhi sudhrne wale 1000 times i told that Dont discuss about course but still u guys are doing same
Admin sanket bhaiya course copyright update , we got , could you make a backup channel
You can implement two stacks in an array in C language by using the following steps:
1. Declare an array of size n.
2. Set two variables top1 and top2 such that both of them are initialized with -1.
3. top1 will be used to keep track of the index of the top element in stack 1 and top2 will be used to keep track of the index of the top element in stack 2.
4. Push operation: If we want to push an element into stack 1, we increment top1 by 1 and insert the element at this new index in the array. Similarly, if we want to push an element into stack 2, we increment top2 by 1 and insert the element at this new index in the array.
5. Pop operation: If we want to pop an element from stack 1, we simply decrement top1 by 1 and return the element at this new index from the array. Similarly, if we want to pop an element from stack 2, we decrement top2 by 1 and return the element at this new index from the array.
6. Peek operation: To peek into either stack, simply return the element at either top1 or top2 depending on which stack you want to peek into without modifying either variable's value.
Daily messages: 52/70
⏰ Automation : Silent mode enabled
Users can not post to group until Ending of silence mode 😴
