Skip to content

Instantly share code, notes, and snippets.

View sinannar's full-sized avatar
🙃
I may be slow to respond.

Sinan NAR sinannar

🙃
I may be slow to respond.
View GitHub Profile
@sinannar
sinannar / Anagram.cs
Created April 26, 2019 09:32
Example solution for known problem called Anagram of strings
using System;
using System.Linq;
using System.Collections.Generic;
public class Program
{
public static void Main()
{
foreach (var test in GetTestCases()) {
var result = IsAnagramPair(test.First, test.Second);
@sinannar
sinannar / GAB.md
Created April 20, 2018 22:35 — forked from rbrayb/GAB.md
Global Azure Bootcamp 2018
@sinannar
sinannar / gist:f2583f9f360975be2d7118ae6f51377a
Created April 12, 2018 02:52 — forked from digitaljhelms/gist:4287848
Git/GitHub branching standards & conventions

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch
@sinannar
sinannar / convexhull.cpp
Created October 18, 2014 12:02
convex hull problem :D
//
// main.cpp
// BackgroundSubstraction
//
// Created by Sinan on 18/10/14.
// Copyright (c) 2014 Sinan. All rights reserved.
//
#include <iostream>
#include <opencv2/opencv.hpp>
@sinannar
sinannar / LAB WORK PAPER.txt
Created May 12, 2012 11:59
GYTE 11/05/2012 bil102 Lab 10
BIL 108 - Computer Programming
LW – 10
11.05.2012
In this week we will write recursive functions working on integers and sets represented by integer arrays.
*******************************************************************************************************************************************
PART 1(2 Pts) Write a recursive function “isElement” which determines if a given integer is an element of a given set.
The set will be represented by an integer array.
*******************************************************************************************************************************************
PART2 (1Pts) Write a recursive function “isDisjoint” which determines if given 2 sets are disjoint.
@sinannar
sinannar / gameoflife.c
Created April 23, 2012 17:10
game of life basic simulation
/*
example video link : http://www.youtube.com/watch?v=XcuBvj0pw-E
*/
/*
* FILE NAME : HW05_091044005_PART_3.c
*
* CREADET BY : Sinan NAR
* CREATION DATE : 08/04/2011
*
@sinannar
sinannar / hw02-info.txt
Created April 4, 2012 19:02
HW02-unnamed hero :)
BU ODEVDE İSTENİLEN HERSEY YAPILMAMIS OLUP BAZI EKSIKLIKLERI BULUNMAKTA
AMA KIMSEDEN GCC DE DERLENECEK BI ODEV GELMEDIGI ICIN BUNU KOYUYORUM
ödevde istenilenlerle alakalı dosya:
https://docs.google.com/document/pub?id=1sKFXby2j9RDPr0tRdPF2InTu0sphePHuDFgVdf8utkM
@sinannar
sinannar / hw01-info.txt
Created April 4, 2012 18:54
HW01-ahmetsoyyiğit
BU DOSYALAR DİZİSİ FACEBOOK GRUBU OLAN C AND JAVA PROGRAMMING DE VERILEN HW01 IN KODLARIDIR
ODEV DDOSYASI:
https://docs.google.com/document/pub?id=1ImUBZNdu-AD67zOnkErvpY8Y6OuojDgFWMD9kQqIDaQ
@sinannar
sinannar / readingCharFromKeyboardWithoutEntering.c
Created March 23, 2012 22:20
Here is a function that implement in c,you can use it if you need a function that takes a character from user without enter
#include <termios.h>
#include <unistd.h>
char mygetch(void);
int main()
{
/*
DRIVER SOURCE CODES HERE
@sinannar
sinannar / functionPointerExamples.c
Created February 26, 2012 16:47
Function Pointer Examples
/*
* FUNCTION POINTERS
* Created By :Sinan NAR
* Creation Date :26/02/2012
*
* you can ask me anything about these codes if you do not understand
* mail me : sinan.nar@gmail.com
*/
#include <stdio.h>