python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
how to create a stack histogram with actual Y values
I have a dataset and want to create a stack histogram. I have the code below for both data and the histogram itself. However, when I run this code, I do get values of 200, which is not what I want. I ...
Borja
Votes: 0
Answers: 1
Why is am getting wrong output while converting infix expression (without parentheses) to prefix expression?
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
typedef struct stack {
int tos;
char arr[21];
} stack;
void push(stack*, char);
char pop(stack*);
void convert(ch...

pratik jain
Votes: 0
Answers: 0
String.join method not working for array/stack despite me having updated JDK?
I'm trying to convert all the character elements in my stack into an element of type String. For example - if my stack has [a,b,c] then I want to use the .join method to create a string "abc"...
asaplulu
Votes: 0
Answers: 2
Stack error caused working with anchor on solana
I am developing on-chain program of solana with anchor framework.
But I have crashed with stack error.
#[derive(Accounts)]
pub struct ClaimNftContext<'info> {
#[account(mut)]
pool: Accou...
David Nasaw
Votes: 0
Answers: 1