44 questions
Hello! It's a simple question. Hmm... I don't know what to do with the algorithmI'm trying to get two strings from the user and check if they're the sameFor example, even if the string is flipped, the...
#include <iostream> #include <assert.h>using namespace std;class CircularQueue {private: int *mData; int mFront, mRear, mMaxSize;public: CircularQueue(); CircularQueue(int _data); ~Circula...
I'm implementing the stack as an array, but in the code below,After copying in the main function, delivering the copied stack If free is used, a compilation error does not appear, but if you run it, f...
I declared a queue using a low-cost array, but I think the size of the element is 5, so I think a total of 6 elements can fit in it, but there are more than 6 sizes in the array. Why is that?#include ...
Hello! Can you give me one or two examples that cannot be implemented using the tree data structure and can only be implemented as a connection list?(Whatever it is, it doesn't matter!)
Hello, I'm asking you a question because there are parts in grammar that I don't understand well while studying the data structure.typedef void VisitFuncPtr(BTData data);void InorderTraverse (BTreeNod...
Implementing list and vector I don't want to define itterator, which is an internal class of two classes, so I define it separately. I'd like to refer to it, is there a way?
Is it n/2 or n/2 + 1 in this case? 2/2I am still confused about the exam tomorrow...
C//Enter your code here#include <stdio.h>#include <stdlib.h>typedef int element;typeef structure DListNode { // Dual Connection Node Type element data; struct DListNode* llink; struct DLis...
void com() { struct TTT { char isDup[10]; char readData[10]; struct TTT* link[9]; }; struct TTT case1; char* data; data = read(); for (int i = 0; i < 9; i++) { case1.readData[i] = data[i]; ...
« | - 3 - | » |
581 PHP ssh2_scp_send fails to send files as intended
916 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
573 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
618 Uncaught (inpromise) Error on Electron: An object could not be cloned
© 2024 OneMinuteCode. All rights reserved.