This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.Random; | |
| import java.util.Scanner; | |
| class Game { | |
| int randNum; | |
| int userNum; | |
| int noOfGuesses = 0; | |
| public Game() { | |
| Random rand = new Random(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<stdio.h> | |
| #include<stdlib.h> | |
| struct TreeNode { | |
| int key; | |
| struct TreeNode* left; | |
| struct TreeNode* right; | |
| }; | |
| struct TreeNode* createNode(int key) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<stdio.h> | |
| #include<stdlib.h> | |
| struct TreeNode { | |
| int key; | |
| struct TreeNode* left; | |
| struct TreeNode* right; | |
| }; | |
| struct TreeNode* createNode(int key) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<stdio.h> | |
| #include<stdlib.h> | |
| struct Queue { | |
| int size; | |
| int front; | |
| int rear; | |
| int* arr; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<stdio.h> | |
| #include<stdlib.h> | |
| struct Stack { | |
| int size; | |
| int top; | |
| int *arr; | |
| }; | |
| struct Queue { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| echo Installing a Python package... | |
| pip install yt-dlp | |
| echo Package installation complete. | |
| pause |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<stdio.h> | |
| #include<stdlib.h> | |
| struct TreeNode { | |
| char data; | |
| struct TreeNode* left; | |
| struct TreeNode* right; | |
| }; | |
| struct TreeNode* createNode(char data) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<stdio.h> | |
| #include<stdlib.h> | |
| struct TreeNode { | |
| char data; | |
| struct TreeNode* left; | |
| struct TreeNode* right; | |
| }; | |
| struct TreeNode* createNode(char data) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<stdio.h> | |
| #include<stdlib.h> | |
| #include<string.h> | |
| #include<stdbool.h> | |
| #include<ctype.h> | |
| struct Stack { | |
| int size; | |
| int top; | |
| char *arr; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<stdio.h> | |
| #include<ctype.h> | |
| #include<stdlib.h> | |
| #include<stdbool.h> | |
| #include<string.h> | |
| struct Stack { | |
| int size; | |
| int top; | |
| char *arr; |
NewerOlder