This file contains 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 'package:flutter/material.dart'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatefulWidget { | |
const MyApp({Key? key}) : super(key: key); | |
@override |
This file contains 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
void main() { | |
yieldTester().listen((String test) => print(test)); | |
} | |
Stream<String> yieldTester() async*{ | |
yield "RSC"; | |
yield* test(); | |
yield "was here"; | |
} |
This file contains 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
This Gist contain solutions for JavaScript problems | |
1. Rotate Array | |
2. Anagrams | |
3. Conitous v or w : min and max | |
4. Minimum swaps to sort array | |
5. Rotation | |
6. Create 1...n array | |
7. Power set of an arrray | |
8. Number of occurances |
This file contains 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
/****************************************************************************** | |
Online C Compiler. | |
Code, Compile, Run and Debug C program online. | |
Write your code in this editor and press "Run" button to compile and execute it. | |
*******************************************************************************/ | |
#include <stdio.h> |
This file contains 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> | |
#define SIZE 5 | |
struct Queue { | |
int arr[SIZE]; | |
int front, rear; | |
}; | |
typedef struct Queue Queue; | |
void enqueue(Queue*, int); |
This file contains 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
;Matrix Multiplication | |
MOV DPTR,#0000H | |
MOVX A,@DPTR | |
MOV R7,A | |
PUSH A | |
INC DPTR | |
MOVX A,@DPTR | |
MOV R6,A | |
PUSH A |