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
package main | |
import "fmt" | |
import "sort" | |
type runeSorter []rune | |
func AlphabetSoup(str string) string { | |
// code goes here | |
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
package main | |
import "fmt" | |
func LongestWord(sen string) string { | |
// code goes here | |
// Note: feel free to modify the return type of this function | |
// fmt.Println("Length: ", len(sen)) |
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
1 E 39 816 3: 347DAC6EE8EEEA4652C7476D0F97BEE5 5: 3AEEEEE1367614F3061D165A5FE3CAC3 | |
2 9 92 200 3: AE2E85DD75D63E916A525DF95E999EA0 5: 83501E9109999965AF11270EF8D61A4F | |
3 9 110 200 3: 7AF7FA13B999D68BBCE565971DDBAE27 5: 83501E9109999965AF11270EF8D61A4F | |
4 E 184 816 3: 02164648EEE4FD760CDAB7E343EFFD74 5: 3AEEEEE1367614F3061D165A5FE3CAC3 | |
5 4 291 1261 3: D7C86A1C1AF63C851FE876E44427DA83 5: EDD652BE33204A7A544444D3C722FC01 | |
6 3 314 792 3: B76A587A333A5DE4FBD566B426E1254C 5: D3037333338C0E36482FACEF46A5D375 | |
7 4 343 1261 3: D3C939A6E3739444983E1961FAD091D8 5: EDD652BE33204A7A544444D3C722FC01 | |
8 4 385 1261 3: D847A4440F2A4423B79FE9BDC1CDE659 5: EDD652BE33204A7A544444D3C722FC01 | |
9 3 459 792 3: 77B05E16607A333BAE2DEE537CE16B9A 5: D3037333338C0E36482FACEF46A5D375 | |
10 3 461 792 3: D2C1333BC7B740A6A |
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
// | |
// Regular Expression for URL validation | |
// | |
// Author: Diego Perini | |
// Updated: 2010/12/05 | |
// License: MIT | |
// | |
// Copyright (c) 2010-2013 Diego Perini (http://www.iport.it) | |
// | |
// Permission is hereby granted, free of charge, to any person |