Skip to content

Instantly share code, notes, and snippets.

View krishnakumarcn's full-sized avatar
📱
Fluttering...

Krishnakumar Narayanan krishnakumarcn

📱
Fluttering...
View GitHub Profile
@krishnakumarcn
krishnakumarcn / CHI
Last active December 1, 2016 11:51
CHI
;Matrix Multiplication
MOV DPTR,#0000H
MOVX A,@DPTR
MOV R7,A
PUSH A
INC DPTR
MOVX A,@DPTR
MOV R6,A
PUSH A
#include<stdio.h>
#define SIZE 5
struct Queue {
int arr[SIZE];
int front, rear;
};
typedef struct Queue Queue;
void enqueue(Queue*, int);
/******************************************************************************
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>
@krishnakumarcn
krishnakumarcn / 001. Algos
Last active January 21, 2021 04:59
Algos.
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
void main() {
yieldTester().listen((String test) => print(test));
}
Stream<String> yieldTester() async*{
yield "RSC";
yield* test();
yield "was here";
}
@krishnakumarcn
krishnakumarcn / main.dart
Last active September 21, 2022 11:51
Krishnakumar's DartPad
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({Key? key}) : super(key: key);
@override