Skip to content

Instantly share code, notes, and snippets.

View Naravia's full-sized avatar

Alexandra Hepworth Naravia

View GitHub Profile
(int x, int y) Naive(int target, List<int> values)
{
for (var i = 0; i < values.Count; ++i)
{
for (var j = i + 1; j < values.Count; ++j)
{
if (values[i] + values[j] == target)
{
return (values[i], values[j]);
}
@Naravia
Naravia / Day1.c
Last active December 9, 2018 12:32
#include <stdio.h>
enum MODES
{
ADDING,
SUBTRACTING
};
int map_character_to_int(int character)
{
#include <stdio.h>
enum MODES
{
ADDING,
SUBTRACTING
};
int map_character_to_int(int character)
{
@Naravia
Naravia / LuaPOC.cs
Created May 20, 2016 06:46
FrameScript__Execute example by Saridormi @ Ownedcore
using System;
using System.Diagnostics;
using System.Linq;
using System.Text;
using Binarysharp.MemoryManagement;
using Binarysharp.MemoryManagement.Memory;
namespace LuaExecPOC
{
class Program