Skip to content

Instantly share code, notes, and snippets.

View osjayaprakash's full-sized avatar
💭
I may be slow to respond.

Jayaprakash S osjayaprakash

💭
I may be slow to respond.
View GitHub Profile
@osjayaprakash
osjayaprakash / lego.cpp
Created August 31, 2013 18:15
lego blocks, cpp, hackerrank
#include <iostream>
using namespace std;
#define MOD 1000000007
typedef unsigned long long ull;
ull dp[1001]; // with rep
#include <iostream>
#include <cstring>
using namespace std;
int buildlps (char * pat, int m, int *lps){
lps[0] = lps[1] = 0;
for(int i=2; i<=m; i++){
int j = lps[i-1];
while(1){
@osjayaprakash
osjayaprakash / mlx_finetuning_gemma.ipynb
Created August 1, 2025 00:42 — forked from alexweberk/mlx_finetuning_gemma.ipynb
MLX Fine-tuning Google Gemma
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.