This file contains hidden or 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
// | |
// ContentView.swift | |
// GradientComponenet | |
// | |
// Created by David Smith on 2/21/23. | |
// Updaetd by Drew Fitzpatrick on 2/24/23. | |
// | |
import SwiftUI |
This file contains hidden or 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
// | |
// GroupActivityStuff.swift | |
// GroupActivityStuff | |
// | |
// Created by Drew Fitzpatrick on 7/29/21. | |
// | |
import GroupActivities | |
import Combine | |
import Foundation |
This file contains hidden or 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
/* | |
Compile: make mathcaps | |
Usage: ./mathcaps "the string to convert" | |
*/ | |
#include <stdio.h> | |
#include <string.h> | |
int main(int argc, char** argv) { |
This file contains hidden or 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
def puddle(xs): | |
result = 0 | |
unresolved = [] | |
for i in range(len(xs)): | |
y = xs[i] | |
if len(unresolved) > 0: | |
while y > unresolved[-1][0]: | |
z = unresolved.pop()[0] | |
if len(unresolved) == 0: | |
break |